17.12.2017 Views

HONDURAS Elections 2017 - Technical Report

This report addresses the transmission and publication systems used by TSE/Honduras National Tribune of Elections as well as image analysis/forensics found on the JPEG files sent and later published online. We found patterns of upload data, anomalies in terms of signatures, and others that make us believe fraud and systematic manipulation was taking place during this election process.

This report addresses the transmission and publication systems used by TSE/Honduras National Tribune of Elections as well as image analysis/forensics found on the JPEG files sent and later published online. We found patterns of upload data, anomalies in terms of signatures, and others that make us believe fraud and systematic manipulation was taking place during this election process.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>HONDURAS</strong><br />

<strong>Elections</strong> <strong>2017</strong> – Fraud Analysis<br />

<strong>Technical</strong> <strong>Report</strong><br />

Grupo de Amigos en Norte América en Software<br />

- GANAS<br />

ganasusa@gmail.com<br />

Version: December 15 th , <strong>2017</strong>


TABLE OF CONTENTS<br />

ANALYSIS AND SOFTWARE ...............................................................................1<br />

GRATITUDE ................................................................... 3<br />

BALLOT MODIFICATIONS AND ALTERATION IN THE TRANSMISSION SYSTEM ...4<br />

BALLOT REPORTS RECEIVED DIRECTLY FROM VOTING<br />

PRECINCTS ................................................................... 5<br />

REPORT ON NUMBER OF VOTES ON BALLOT REPORT CARDS<br />

WITH ATX AND THOSE WITHOUT THE ATX INFORMATION 11<br />

SECURITY MEASURES ELIMINATED FROM BALLOT REPORT<br />

CARDS ........................................................................ 14<br />

SiGNATURE COMPARISON IN ALL BALLOT REPORT CARDS 19<br />

TRANSMISSION SYSTEM CONCLUSIONS .........................................................24<br />

PUBLICATION SYSTEM (WEB) .........................................................................26<br />

BALLOT REPORT CARDS IN AMAZON S3 ......................... 26<br />

API TSE ...................................................................... 30


Amazon S3 .................................................................. 32<br />

NUMBER OF IMAGES INSERTED PER DAY AND VOTE COUNT<br />

.................................................................................. 35<br />

CONTENT OF ALL UPLOADED FILES ................................ 37<br />

PDF Generating and TAGGING ....................................... 37<br />

downloads.hn ......................................................... 38<br />

processtoPDF.py ..................................................... 38<br />

findresoultions.py .................................................... 39<br />

votecount.py .......................................................... 40<br />

parselista.py ........................................................... 42<br />

IMAGE PATTERNS ...........................................................................................43<br />

PATTERNS BY SIZE .................................................. 43<br />

Different Resolutions for Images PUBLISHED ONLINE ....... 47<br />

Growth Behavior is directly proportional to the Ballot<br />

Record Card ID ....................................................... 51<br />

More than 100% at TSE.HN ...................................... 53<br />

ADDITIONAL SOFTWARE AND BENFORD TEST ................................................54<br />

VOTO SOCIAL ......................................................... 54<br />

BENFORD ANALSYSIS .............................................. 55<br />

CONCLUSIONS ON THE PUBLICATION SYSTEM ...............................................59


OVERALL CONCLUSIONS .................................................................................61<br />

REFERENCES AND LINKS .................................................................................63<br />

CONTACT US - GANAS USA ............................................................................65


ANALYSIS AND<br />

SOFTWARE<br />

The electoral process in Honduras took place on November<br />

26 th , <strong>2017</strong>. By 4 P.M. local time, all voting locations and<br />

precincts were closed (per request from the National<br />

Tribunal of Election, “TSE”) and all appointed<br />

representatives from all political parties proceeded to open<br />

and count all ballot boxes for Congress, Municipality, and<br />

Presidential races.<br />

Once the count was completed, a designated official was in<br />

charge of electronically sending a scanned copy of what we<br />

called a “Ballot <strong>Report</strong> Card or Acta.” This process was<br />

conducted using a device called “ATX” or a secured scanner<br />

using a GPRS/3G/4G LTE modem card. The designated<br />

individual verified that the report card included all official’s<br />

signatures in the watermarked paper, and proceeded to


send it to the “TSE.” A hard copy of the card was shared<br />

among all parties that participated in the count.<br />

The transmission of the report card included information<br />

from the scanner itself (called “ATX Information”). The ATX<br />

information included the device identifier and a time stamp<br />

of that transmission.<br />

Although many anomalies were reported during this election<br />

process, this report analyzes the transmission system,<br />

makes an initial forensic analysis of the scanned images,<br />

and to finalize, analyzes the internet publication platform.<br />

The collected information shows evidence of fabrication of<br />

electoral cards, removal of security features in the scanned<br />

images, and other system anomalies that enabled easy<br />

tampering and modification of the final result.<br />

Specially, the collected evidence contradicts the “rural vote”<br />

theory that was being circulated by Honduran Government<br />

officials. The evidence shows that in all cases where the<br />

report cards were send by car, Juan Orlando Hernandez wins<br />

by a disproportionate amount versus the votes counted from<br />

the cards sent digitally from the ATX machine.<br />

The report focuses specially in an explanation on how the<br />

discrepancy between the results reported by TSE at 1:47 AM<br />

Honduras time on the 27 th of November differs from Today’s<br />

report. We find that the system was tampered and modified<br />

to favor Juan Orlando Hernandez.<br />

2 GANAS USA | ganasusa@gmail.com


At that time, it was reported that Mr. Nasralla had won the<br />

election after transmitting and TSE reviewed over ~12K<br />

precincts (around 70%) of the voting locations providing<br />

Nasralla a ~5% lead over Juan Orlando Hernandez. After<br />

counting the remainder number of votes, which were sent by<br />

land/car and scanned at a different location, Juan Orlando<br />

Hernandez won the election by overcoming over the<br />

120,000 votes lead to finalize with approximately 50,000<br />

votes over Nasralla.<br />

This final report does not include any analysis on the TSE<br />

servers “going down” and other difficulties reported by the<br />

National Tribunal of <strong>Elections</strong> (TSE) during that time.<br />

GRATITUDE<br />

We used in a great degree the project posted by “Win2013”<br />

on github 1 and the source code to process and creation of<br />

PDF files from TSE APIs, all scanned “Actas” or “ballot report<br />

cards” provided in the posted repository and used by this<br />

project. Also, VOTO SOCIAL for providing information during<br />

their own count.<br />

1<br />

Github is a place to share and post software projects with<br />

source code.<br />

3 GANAS USA | ganasusa@gmail.com


BALLOT<br />

MODIFICATIONS AND<br />

ALTERATION IN THE<br />

TRANSMISSION SYSTEM<br />

Our team reviewed all ballot report cards provided by each<br />

electoral ballot box that Hondurans call as “MER” or “Mesa<br />

Electoral Receptora.” A device called ATX (a scanner with<br />

authentication features) sends a digital copy of the ballot<br />

report card to TSE and copies to all political parties, the<br />

National Tribune of <strong>Elections</strong> (“TSE”) and other interested<br />

entities.<br />

We compared the images and vote counts against what is<br />

was received by hand or snail mail from the “Rural” areas at<br />

4 GANAS USA | ganasusa@gmail.com


a location called INFOP, or a similar place where the ballot<br />

reports were rescanned.<br />

The review included analysis per pixel, image filtering using<br />

digital signal processing techniques, and detecting changes<br />

that compared information with those scanned images and<br />

voting count.<br />

The first set that was sent from the ballot precinct included<br />

12,917 ballot box locations and 5,417 ballot cards collected<br />

and sent by land to INFOP.<br />

BALLOT REPORTS RECEIVED DIRECTLY FROM VOTING<br />

PRECINCTS<br />

Each of the ballot report cards were sent directly to all<br />

political parties and to the national tribune of elections. The<br />

precinct sent a scanned copy of the ballot reporting card at a<br />

resolution of 1600x978 pixels attaching the ATX Identifier in<br />

the left-hand corner of the report card (as shown below) and<br />

a time stamp, as show in FIG 1.<br />

5 GANAS USA | ganasusa@gmail.com


FIG 1. Ballot <strong>Report</strong> Card with ATX Information –<br />

Scanned from Prescinct MER 0306 for President<br />

The images scanned from the 12,917 locations were<br />

delivered over secured lines using the ATX device<br />

transmitted an JPEG encoded image with RGB colors a depth<br />

of 8 bits and 72x72 DPI (Dots Per Inch), as described by the<br />

tool called “exiftool”<br />

6 GANAS USA | ganasusa@gmail.com


Resolution : 72<br />

Y Resolution : 72<br />

Image Width : 1600<br />

Image Height : 974<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 3<br />

Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)<br />

In contrast, the images sent from INFOP, which total 5,497<br />

precincts were encoded as well in JPEG at a resolution of<br />

2790x1699 and 1 color component, removing the YCbCr<br />

components. The same format was later used to post on<br />

Amazon’s S3 system for public viewing.<br />

X Resolution : 200<br />

Y Resolution : 200<br />

Image Width : 2792<br />

Image Height : 1699<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 1<br />

Image Size<br />

: 2792x1699<br />

The difference between these two scans is significand and<br />

despite increasing the resolution to 2790x1699, we observe<br />

a deliberated effort to eliminate all YcbCr4 components that<br />

include all the security features inherent of the ballot report<br />

card. This new JPEG scan eliminated all watermarks,<br />

backdrop images, and the ATX Identifier.<br />

TSE personnel proceeded to also convert the JPEGs with ATX<br />

Information with the YCbCr component, and width and<br />

height of 1600x974, and were up sampled to width and<br />

height of 2792x1699 removing the YCbCr component from<br />

the ballot report card.<br />

7 GANAS USA | ganasusa@gmail.com


The importance of these images is that, you can compare all<br />

the voting precinct scanned images that contain the<br />

metadata and ATX identifiers (including time stamps) with<br />

the ones from INFOP that were removed.<br />

We reviewed all the images that were claimed to be sent<br />

from INFOP and 99.7% of those images have all the ATX<br />

information removed as well as all the ballot report card<br />

security watermarks are no longer detectable. This makes us<br />

believe that a different scanner was used to scan these<br />

images and that there is no way to know when they were<br />

scanned.<br />

As you can see in the following paragraph, a list of all<br />

scanned documents with the ATX metadata information from<br />

MER 1 thru 18600. These presidential ballot report cards can<br />

be reviewed and downloaded in your local filesystem.<br />

• Listing of all ballot report cards without MER/ ATX Information<br />

https://huladrive.com/elections/1/ATX_Info_fake.pdf<br />

• Listing of all ballot report cards sent from “ INFOP” with 99.7% without MER/ATX Information<br />

https://huladrive.com/elections/1/ATX_Info_Infop.pdf<br />

• Full listing of all ballot report cards with or without ATX Info from MER 1- 18575.<br />

https://huladrive.com/elections/1/ATX_info1000.pdf<br />

https://huladrive.com/elections/1/ATX_info2000.pdf<br />

https://huladrive.com/elections/1/ATX_info3000.pdf<br />

https://huladrive.com/elections/1/ATX_info4000.pdf<br />

https://huladrive.com/elections/1/ATX_info5000.pdf<br />

https://huladrive.com/elections/1/ATX_info6000.pdf<br />

https://huladrive.com/elections/1/ATX_info7000.pdf<br />

https://huladrive.com/elections/1/ATX_info8000.pdf<br />

https://huladrive.com/elections/1/ATX_info9000.pdf<br />

https://huladrive.com/elections/1/ATX_info10000.pdf<br />

https://huladrive.com/elections/1/ATX_info11000.pdf<br />

https://huladrive.com/elections/1/ATX_info12000.pdf<br />

https://huladrive.com/elections/1/ATX_info13000.pdf<br />

https://huladrive.com/elections/1/ATX_info14000.pdf<br />

https://huladrive.com/elections/1/ATX_info15000.pdf<br />

https://huladrive.com/elections/1/ATX_info16000.pdf<br />

https://huladrive.com/elections/1/ATX_info17000.pdf<br />

https://huladrive.com/elections/1/ATX_info18600.pdf<br />

8 GANAS USA | ganasusa@gmail.com


As an example, we chose a sample range between voting<br />

precincts 3051 to 3056, as shown in the following section<br />

and that can be located within the file ATX_info4000.pdf.<br />

As one can observe, FIG 2 shows the MER identifier 3051<br />

(3051104.jpg) and do not include the ATX Information<br />

signature and coincidently was not ever sent to the political<br />

Parties in dispute.<br />

In fact, none of the ballot report cards that were sent from<br />

INFOP includes the ATX Information, but all the ones that<br />

were received from the precincts contain the ATX<br />

information as in 3052, 3053, and 3054.<br />

The curious aspect is that any of the deputy officers in<br />

charge of sending the report card, could use any adjacent<br />

ATX, as in the FIG 2 and FIG 4, there were adjacent ATX<br />

devices. but for an unknown reason the ballot card was later<br />

sent by snail mail to the national tribunes of elections and<br />

captured at INFOP.<br />

NOTE: You can find all Ballot <strong>Report</strong> Cards at using the<br />

BARCODE (or Bard Code Information) which is nothing ty<br />

the MER identifier plus the string “104.jpg” for all<br />

presidential race.<br />

https://huladrive.com/elections/1/.jpg as<br />

an example, we can find<br />

https://huladrive.com/elections/1a/03651104.jpg the same<br />

card was also posted as received by the political parties<br />

https://huladrive.com/elections/1/03651104.jpg Se bellow,<br />

9 GANAS USA | ganasusa@gmail.com


00305104.jpg was not transmitted. This example repeats<br />

throughout the PDF files aggregating all the ATX information<br />

for all voting precincts.<br />

FIG 2. MERs and ATX Information in the PDF File for<br />

the Identifier 3000 to 4000 range.<br />

10 GANAS USA | ganasusa@gmail.com


“All ballot report cards that were<br />

sent from the voting precinct<br />

included the ATX Information and<br />

were received by the political<br />

parties. All the other cards were<br />

sent manually and did not carry<br />

the ATX Information and time<br />

stamp”<br />

REPORT ON NUMBER OF VOTES ON BALLOT REPORT CARDS<br />

WITH ATX AND THOSE WITHOUT THE ATX INFORMATION<br />

• An account of the total number of votes received by all<br />

ballot precincts account in favor of Salvador Nasralla<br />

with 118,000 votes over Juan Orlando Hernández as<br />

reported by the TSE the night of the 27 th of November<br />

• All other additional ballot report cards that were sent<br />

afterwards and send without the ATX Info and with all<br />

eliminated security features from the ballot report card<br />

Salvador Nasralla loses by 172,000 votes in favor of<br />

Juan Orlando Hernandez.<br />

11 GANAS USA | ganasusa@gmail.com


FIG 3. Visual comparison of the Ballot <strong>Report</strong> Cards<br />

arriving from the MER and scanned from INFOP.<br />

The images in FIG 3 show a qualitative difference between<br />

the ballot report card sent from the precinct and the one<br />

sent from the INFOP location. As shown the left image, it<br />

includes the “ATX Identifier” and the date that it was sent<br />

(In a great majority Nov 26 th from 5pm-midnight). The on<br />

the right does not.<br />

This can be verified by running the program<br />

ImageSearch.py and creating all PDFs with all the<br />

information from all the first 25 pixels where the ATX<br />

information resides. 2<br />

2<br />

One can use “ImageSearch.py” to generate this PDF at<br />

http://github.com/win2013/honduras_tse_pdf<br />

12 GANAS USA | ganasusa@gmail.com


FIG 4. PDF Sample with MERS from Voting Prescints<br />

from MER ID 135 to 140<br />

As shown in FIG 4, a list of ballot report cards is shown here.<br />

These cards were transmitted with the ATX information and<br />

some don’t from a school located in TOCOA, COLON.<br />

Like in this figure, many non-rural places, the ballot cards<br />

were not sent or delivered from those precincts<br />

electronically. Even when adjacent locations had an available<br />

ATX device, and Honduran law allows the designated official<br />

to use any available ATX to transmit cards.<br />

Instead, these images were later rescanned from INFOP<br />

even from urban locations in Tegucigalpa, San Pedro Sula,<br />

and other cities, where internet was available and ATX<br />

devices were used by adjacent places.<br />

13 GANAS USA | ganasusa@gmail.com


SECURITY MEASURES ELIMINATED FROM BALLOT REPORT<br />

CARDS<br />

A forensic analysis was performed to the scanned images<br />

(Ballot <strong>Report</strong> Cards). One can run a similar analysis using<br />

the site: https://29a.ch/photo-forensics/#error-levelanalysis,<br />

and the following filters were applied to the<br />

images:<br />

• Error Level Analysis,<br />

• Level Sweep,<br />

• and Principal Component Analysis.<br />

The ballot report cards arrived from all the precincts and in<br />

many cases included the ATX information and Card Security<br />

features (ATX ID and time of transmission). These security<br />

features (watermarks) can be seen by zooming in and<br />

without a particular filter. These features can be clearly<br />

detected using simple image processing (e.g. Principal<br />

Component Analysis filter). You can clearly appreciate the<br />

watermarks with texts such as “TSE”, “<strong>2017</strong>” and “Todos<br />

somos Democracia” among others.<br />

As an example, you can find the following number “7”<br />

(inverted) amplified after applying a “Principal Component<br />

Analysis” Filter in FIG 5.<br />

14 GANAS USA | ganasusa@gmail.com


FIG 5. Security Watermarks in the Ballot <strong>Report</strong> Card<br />

using the Principal Component Analysis tool.<br />

In contrast, the great majority of all ballot report cards<br />

scanned from INFOP have this information deliberately<br />

removed by the encoding settings chosen by TSE.<br />

Additionally, the ATX information was removed from the<br />

ballot report cards that were transmitted originally from the<br />

voting precinct, in an attempt to make all cards look<br />

homogeneous. In other words, in publication they wanted<br />

INFOP cards look the same as the ones sent from the voting<br />

precinct initially with all security watermarks.<br />

As shown below in FIG 6, it is very difficult or impossible to<br />

determine if the ballot report card was an original or a fake.<br />

15 GANAS USA | ganasusa@gmail.com


FIG 6. INFOP Ballot <strong>Report</strong> Card without Security<br />

Features (Watermarks) transmitted<br />

As shown here, any person can try different image filters<br />

from other sources or the ones from this site, and in a great<br />

majority of cases all the INFOP scanned images have all the<br />

security features removed or impossible to detect. These<br />

types of changes that were made to the image makes it very<br />

difficult and impossible to validate and claim any<br />

authenticity.<br />

Any alteration, changes, or modifications made to the ballot<br />

report card from this point forward is now easy to be<br />

performed and changes are harder to be noticed.<br />

As it is observed in the above ballot report card (“Acta”) and<br />

after applying a filter called “Level Sweep” with the<br />

16 GANAS USA | ganasusa@gmail.com


parameters (1.0, 59, 1.00). Yu can observe that, the sticker<br />

information that can be seen in all the other cards, seems to<br />

be homogenous with the same pixel color, which could have<br />

been doctored.<br />

FIG 7. Level Sweep Filter applied to the Ballot <strong>Report</strong><br />

Card, showing the sticker over the count area (MER<br />

00491).<br />

In contrast, the MER report card in FIG 7 includes the box<br />

with the sticker that was placed on top of the ballot numbers<br />

and vote count information.<br />

In the entire TSE web system, we could only find, a single<br />

image of a ballot report card that preserved the ATX<br />

Information, and that was 03036 as shown here:<br />

https://actas.tse.hn/03036104.JPG):<br />

17 GANAS USA | ganasusa@gmail.com


FIG 8. Image Corresponding to the MER 03052 in the<br />

same area with the sticker on top of the vote count.<br />

It is clear in FIG 8 and FIG 9 that by simple visual<br />

comparison you cannot see the particular pixilation from the<br />

security sticker place on top of the voting count. This is then<br />

repeated in great majority most of the ballot cards scanned<br />

from INFOP. This is clearly an issue as any ballot report<br />

card without this security feature could be changed,<br />

tampered, and modified with a simple image editing library<br />

in a systematic way 3 .<br />

3<br />

More complex FFT-based and cross-correlation analysis can<br />

be performed or using OpenCV or other open source tools,<br />

but we do not anticipate major differences to what we<br />

observed herein.<br />

https://en.wikipedia.org/wiki/Data_analysis_techniques_for_<br />

fraud_detection<br />

18 GANAS USA | ganasusa@gmail.com


FIG 9. Pixilation seen by the sticker, see signature in<br />

on MER ID : 00021<br />

SIGNATURE COMPARISON IN ALL BALLOT REPORT CARDS<br />

About 17,000 precincts images were converted to PDF and<br />

placed in https://huladrive.com/elections/. These files are<br />

all in PDF format and include cards for congress,<br />

municipality, and presidential races. As shown in FIG 10,<br />

you can clearly visualize a ballot card rescanned from INFOP<br />

(on Top and larger) and a congress card scanned from the<br />

voting precinct (Bottom and smaller), all in one file.<br />

19 GANAS USA | ganasusa@gmail.com


2790x1980<br />

Lower Quaity<br />

No Security Info<br />

1680x960<br />

More Quality<br />

Security Information<br />

FIG 10. PDF file used for signature comparison (MER<br />

6064) – Congress and President Cards<br />

As shown, it is unknown then why the congress race card<br />

was preserved and not rescanned and why only the<br />

presidential race card was rescanned removing all security<br />

watermarks.<br />

20 GANAS USA | ganasusa@gmail.com


As a sample, we picked a random precinct in the PDF format<br />

and compared signatures as shown in FIG 11<br />

(https://huladrive.com/elections/00109.pdf), You can now<br />

compare the signatures from the deputy appointees from all<br />

parties and examine difference. Clearly, manipulation and<br />

validity of these new ballot card is under question as the<br />

signatures appear to be now forged, creating a question that<br />

the ballot report card in INFOP is a fake.<br />

(a) President Info (b) Congress Info<br />

FIG 11. Signatures in Precinct MER: 109 for<br />

President and Congress<br />

21 GANAS USA | ganasusa@gmail.com


In some other cases, the signatures were missing and later<br />

on were counted, as shown in FIG 12 a) and 12 b) as the<br />

new ballot card with higher resolution received signatures<br />

from an unknown source.<br />

(a) MER 13014 – Without Signatures – with ATX Info as of<br />

Nov 27 th , <strong>2017</strong><br />

(b) MER 13014 – With Signatures / Same Information –<br />

Rescanned at 2700x1900 – As of Nov 30 th , <strong>2017</strong><br />

FIG 12. Same card polled at different times with<br />

signature and without signatures – Same vote count.<br />

22 GANAS USA | ganasusa@gmail.com


As a curious fact:<br />

“Honduran National<br />

Tribunal of <strong>Elections</strong> had an<br />

online website to validate<br />

‘Cedulas’ or ID Cards. This<br />

system has been down<br />

since November 27 th , <strong>2017</strong>”<br />

23 GANAS USA | ganasusa@gmail.com


TRANSMISSION SYSTEM<br />

CONCLUSIONS<br />

• All images and scanned “Actas” that were sent to<br />

INFOP had no ATX Information and all security features<br />

from the ballot report card were removed from the<br />

scan. It is unknown when those cards were transmitted<br />

and all security features were removed.<br />

• The images and scans with the ATX information in all<br />

“Actas” that were also received by the Political Parties<br />

from each precinct included ATC information and<br />

corresponding timestamp, and were encoded including<br />

all security features from the ballot report card.<br />

• These different scanned images are also directly<br />

correlated to the fact that in all report cards without<br />

ATX information, SN loses by 174,000 votes and with<br />

all the ones that were received with the ATX<br />

information wins by 118,000 votes<br />

• There is no direct correlation on rural or urban vote as<br />

in many precincts where an ATX was used for<br />

24 GANAS USA | ganasusa@gmail.com


transmission it was not used and many were sent from<br />

the same precinct<br />

• A simple comparison with the ballot report cards where<br />

INFOP scans were made, there are mismatches from<br />

the signatures in many of the ballot report cards.<br />

• TSE remove deliberately all security features from the<br />

ballot report cards that were scanned from INFOP and<br />

there is no way to know what or when that was<br />

scanned.<br />

• It is unknown how the validity of a name or a signature<br />

is done as the ID validation system has been down<br />

since November 27 th , <strong>2017</strong><br />

• Many precincts with several functional ATX machines<br />

opted for not sending the ballot report electronically in<br />

a systematic fashion in many urban and rural locations.<br />

25 GANAS USA | ganasusa@gmail.com


PUBLICATION SYSTEM<br />

(WEB)<br />

BALLOT REPORT CARDS IN AMAZON S3<br />

The ballot report cards that are available to the public are<br />

located on a website located at:<br />

http://resultadoselecciones<strong>2017</strong>.tse.hn/ In each of the<br />

receptor boxes or precincts an identifier is assigned by the<br />

TSE and using this web portal anyone can visualize each<br />

level of election that means president, mayor, and<br />

congressman.<br />

26 GANAS USA | ganasusa@gmail.com


FIG 13. TSE’s HTML pointing to AMAZON AND<br />

JAVASCRIPT TO HANDLE Image Requests.<br />

As the ballot report cards were scanned and stored in<br />

Amazon S3, each file was saved in JPEG format and Amazon<br />

was used to store each precinct information. The ballot<br />

report cards have an associated bar code with a termination<br />

string labeled as 104, 405, and 606 plus the extension “JPG”<br />

(FIG 13). Each report JPEG File contains metadata that can<br />

be extracted with exiftool.<br />

27 GANAS USA | ganasusa@gmail.com


ExifTool Version Number : 10.55<br />

File Name<br />

: 00001.JPG<br />

Directory<br />

: presidente<br />

File Size<br />

: 515 kB<br />

File Modification Date/Time : <strong>2017</strong>:12:01 01:11:08-05:00<br />

File Access Date/Time : <strong>2017</strong>:12:04 02:57:15-05:00<br />

File Inode Change Date/Time : <strong>2017</strong>:12:01 11:06:57-05:00<br />

File Permissions : rw-r--r--A<br />

File Type<br />

: JPEG<br />

File Type Extension : jpg<br />

MIME Type<br />

: image/jpeg<br />

JFIF Version : 1.01<br />

Resolution Unit : inches<br />

X Resolution : 200<br />

Y Resolution : 200<br />

Image Width : 2776<br />

Image Height : 1699<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 1<br />

Image Size<br />

: 2776x1699<br />

Megapixels : 4.7<br />

This metadata includes the report card resolution and<br />

encoding information.<br />

The exiftool program shows a size of 2776x1699 at a<br />

resolution of 4.7 Megapixels 4 . However, we also detected<br />

many other variations of resolutions and this varies<br />

depending on the report card. In a very particular case, a<br />

ballot report card was found published and processed in the<br />

publication system with an image taken not form an ATX nor<br />

from INFOM but from an iPhone or an Android device, at a<br />

resolution of 1.6 Megapixels. This image was part of the<br />

MER ID and a report for municipality with ID: 14834<br />

4<br />

Removing the Chroma scanned images totaled 20GB,<br />

which fits in a 64GB flash drive<br />

28 GANAS USA | ganasusa@gmail.com


(https://huladrive.com/elections/14834.pdf). As you can<br />

visualize, the 3 rd page of the PDF and was replaced by a<br />

different scan (As shown in FIG 14).<br />

This even seems isolated however it is concerning that some<br />

other device other than an ATX or INFOP was able to<br />

bypass all the security that TSE supposedly had in place.<br />

This occurrence was detected once and no other capture was<br />

detected from a mobile phone.<br />

In summary, the image resolutions found in TSEs publication<br />

system were of 2792x1696, 1600x977, 1600x917 and small<br />

variations on width/height of 1-3% across all JPEGs<br />

investigated here.<br />

FIG 14. Image found in MER 14834 taken from a<br />

Mobile Phone (for Municipality Race)<br />

29 GANAS USA | ganasusa@gmail.com


File Name<br />

: 14834.JPG<br />

Directory : .<br />

File Size<br />

: 340 kB<br />

File Modification Date/Time : <strong>2017</strong>:12:01 13:27:44-05:00<br />

File Access Date/Time : <strong>2017</strong>:12:03 12:58:40-05:00<br />

File Inode Change Date/Time : <strong>2017</strong>:12:01 13:27:44-05:00<br />

File Permissions : rw-r--r--<br />

File Type<br />

: JPEG<br />

File Type Extension : jpg<br />

MIME Type<br />

: image/jpeg<br />

JFIF Version : 1.01<br />

Resolution Unit : inches<br />

X Resolution : 72<br />

Y Resolution : 72<br />

Image Width : 1600<br />

Image Height : 977<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 3<br />

Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)<br />

Image Size<br />

: 1600x977<br />

Megapixels : 1.6<br />

During the timeframe of Nov 28-Dec 4 th , most of the images<br />

stored for congress and municipality were at the original ATX<br />

resolution of 1600x977 but have been rescanned as<br />

indicated in the 1 st section of this document.<br />

Amazon’s S3 security is high, as it requires access to the<br />

AWS system that may include “two factor authentication”<br />

and special keys that are generated to “mount” Amazon’s<br />

filesystem remotely.<br />

API TSE<br />

The National Tribune of <strong>Elections</strong>, TSE, provides an API to<br />

remotely pull data from the system, generating a JSON<br />

30 GANAS USA | ganasusa@gmail.com


esponse with the content shown in FIG 15. The URL<br />

requesting information is shown here:<br />

https://api.tse.hn/prod/ApiActa/Consultar/1/<br />

In general, a sample command with curl 5 would provide the<br />

following response:<br />

curl https://api.tse.hn/prod/ApiActa/Consultar/1/14343<br />

{"CodActa":14343,"NumNivel":1,"NomNivel":"Presidente<br />

(a)","CodMER":14343,"CodDepartamento":15,"CodMunicipio":1,"NomDepartamento":"OLANCHO","<br />

NomMunicipio":"JUTICALPA","CodCentroVotacion":1,"NomCentroVotacion":"ESC. PERFECTO<br />

GUIFARRO","CodEstado":10,"NomEstado":"Divulgacion","NumVotosValidos":163,"NumVotosBlancos<br />

":3,"NumVotosNulos":10,"NumVotosTotal":176,"NumPapeletasRecibidas":0,"NumPapeletasSobrant<br />

es":0,"NumPapeletasUtilizadas":0,"CodBarra":"14343159","Url":"https://actas.tse.hn/14343159.JPG<br />

","Votos":[{"CodCandidato":11541,"NomCandidato":"JOSE ALFONSO DIAZ<br />

NARVAEZ","IdentidadCandidato":"1804198202879","CodPartido":5,"NomPartido":"PARTIDO<br />

UNIFICACION<br />

DEMOCRATICA","NumVotos":2,"NumPosicion":1,"NumPosicionActa":1},{"CodCandidato":6033,"No<br />

mCandidato":"SALVADOR ALEJANDRO CESAR NASRALLA<br />

SALUM","IdentidadCandidato":"0801197715391","CodPartido":67,"NomPartido":"LIBRE-<br />

PINU","NumVotos":34,"NumPosicion":2,"NumPosicionActa":2},{"CodCandidato":24067,"NomCandid<br />

ato":"ELISEO VALLECILLO<br />

REYES","IdentidadCandidato":"0501195304045","CodPartido":10,"NomPartido":"PARTIDO VA<br />

MOVIMIENTO<br />

SOLIDARIO","NumVotos":0,"NumPosicion":3,"NumPosicionActa":3},{"CodCandidato":8729,"NomCan<br />

didato":"LUCAS EVANGELISTO AGUILERA<br />

PINEDA","IdentidadCandidato":"0605195800105","CodPartido":4,"NomPartido":"PARTIDO<br />

DEMOCRATA CRISTIANO DE<br />

<strong>HONDURAS</strong>","NumVotos":0,"NumPosicion":4,"NumPosicionActa":4},{"CodCandidato":1,"NomCandid<br />

ato":"LUIS ORLANDO ZELAYA<br />

MEDRANO","IdentidadCandidato":"0801196705668","CodPartido":1,"NomPartido":"PARTIDO<br />

LIBERAL DE<br />

<strong>HONDURAS</strong>","NumVotos":25,"NumPosicion":5,"NumPosicionActa":5},{"CodCandidato":19319,"Nom<br />

Candidato":"ROMEO ORLANDO VASQUEZ<br />

VELASQUEZ","IdentidadCandidato":"0318195700057","CodPartido":8,"NomPartido":"PARTIDO<br />

ALIANZA PATRIOTICA<br />

HONDUREÑA","NumVotos":0,"NumPosicion":6,"NumPosicionActa":6},{"CodCandidato":21513,"Nom<br />

Candidato":"ISAIAS FONSECA<br />

5<br />

https://curl.haxx.se/docs/httpscripting.html<br />

31 GANAS USA | ganasusa@gmail.com


AGUILAR","IdentidadCandidato":"0801198704025","CodPartido":9,"NomPartido":"PARTIDO FRENTE<br />

AMPLIO","NumVotos":0,"NumPosicion":7,"NumPosicionActa":7},{"CodCandidato":14219,"NomCandi<br />

dato":"MARLENE ELIZABETH ALVARENGA<br />

CASTELLANOS","IdentidadCandidato":"0703198501047","CodPartido":6,"NomPartido":"PARTIDO<br />

ANTICORRUPCION","NumVotos":0,"NumPosicion":8,"NumPosicionActa":8},{"CodCandidato":3017,"<br />

NomCandidato":"JUAN ORLANDO HERNANDEZ<br />

ALVARADO","IdentidadCandidato":"1301196800305","CodPartido":2,"NomPartido":"PARTIDO<br />

NACIONAL DE <strong>HONDURAS</strong>","NumVotos":102,"NumPosicion":9,"NumPosicionActa":9}]}<br />

FIG 15. JSON received from API.TSE.HN<br />

As shown in the FIG 15, there is an array called<br />

data[“Votos”] containing the information for presidential<br />

candidates at index 1 an 8. Also, the JSON(as shown in FIG<br />

15) provides metadata that was used to tag and search<br />

voting precincts and compare information.<br />

Function calls index /2/ and index /3/ did not return a<br />

valid response as there is a different set of APIs used to pull<br />

data for congress and municipalities. The documentation<br />

available is basically inexistent.<br />

In fact, we observed many timeout issues with API calls and<br />

inconsistent vote count results, in some cases and for<br />

several days we observed an additional count of 20,000<br />

votes in favor of Juan Orlando Hernandez.<br />

AMAZON S3<br />

As we described, all the files are stored in Amazon S3,<br />

however the API and JSON responses the domain name that<br />

is pointing to actas.tse.hn and uses DEFENSE.NET as well<br />

as part of the platform front-end landing page (Amazon<br />

Cloud front).<br />

32 GANAS USA | ganasusa@gmail.com


The Amazon’s S3 “Bucket” is called uploadtrailhn.<br />

https://actas.tse.hn/14343159.JPG<br />

FIG 16 – Special Scrutity Card for MER 14343<br />

All the JPEG files for president, municipality, and congress<br />

were locally stored from Amazon’s S3 to proceed in multiple<br />

image comparison and analysis. The command in<br />

downloads.sh were sufficient to download and store these<br />

files locally.<br />

33 GANAS USA | ganasusa@gmail.com


curl -o "#1.JPG" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]104.JPG<br />

curl -I -o "#1.timestamp.txt" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]104.JPG<br />

cd..<br />

cd diputados<br />

curl -o "#1.JPG" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]405.JPG<br />

curl -I -o "#1.timestamp.txt" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]405.JPG<br />

cd ..<br />

cd alcalde<br />

curl -o "#1.JPG" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]606.JPG<br />

curl -I -o "#1.timestamp.txt" https://s3.amazonaws.com/uploadtrailhn/[00001-18128]606.JPG<br />

At the same time, Amazon S3 provides a “Header”<br />

information that includes the “Last-Modified” field<br />

indicating when the file was changed last.:<br />

As an example, we can see the information below in FIG 17,<br />

as follows:<br />

HTTP/1.1 200 OK<br />

x-amz-id-2: d28sTR7t399E+4LsL1p0zqYXUweM2PdsQFbRKRKcr98gzN5AAdtTr5PgV7iiYyeF<br />

x-amz-request-id: D563D0BD7D4644ED<br />

Date: Fri, 01 Dec <strong>2017</strong> 19:08:49 GMT<br />

Last-Modified: Wed, 29 Nov <strong>2017</strong> 04:27:49 GMT<br />

ETag: "4a1c27e6a951ff487ba1992569d114bd-1"<br />

x-amz-version-id: null<br />

Accept-Ranges: bytes<br />

Content-Type: image/jpeg<br />

Content-Length: 362371<br />

Server: AmazonS3<br />

FIG 17. Metadata from AMAZON S3 – “Last-Modified”<br />

Wed, 29 Nov <strong>2017</strong> 04:27:49<br />

34 GANAS USA | ganasusa@gmail.com


The timestamp of the file was stored locally as of Dec 2 nd,<br />

<strong>2017</strong> and later on December 9 th, <strong>2017</strong>.<br />

NUMBER OF IMAGES INSERTED PER DAY AND VOTE COUNT<br />

In summary, these are the number of images that were<br />

being scanned and inserted into the publication system from<br />

Nov 27 th thru Dec 2 nd :<br />

FECHA 11/27 11/28 11/29 11/30 12/1-2<br />

Number<br />

of<br />

Images<br />

7,180 11,036 11,558 18,790 2443,419<br />

As shown here and FIG 18, a great majority of the files were<br />

updated on Nov 30 th , especially presidential ballot report<br />

cards.<br />

35 GANAS USA | ganasusa@gmail.com


FIG 18 – Number of Images uploaded wth Vote Count<br />

Votes inserted per candidate from Nov 27 th – Dec 2 nd .<br />

SN 0 29,443 326,218 337,301 591,938 1,560 0<br />

JOH 0 24,902 392,698 362,884 551,752 1,645 0<br />

As shown in FIG 18, the data was being presented to the<br />

public in ways that were not in according to the data that<br />

was being shown in the front-end. There is a deliberate<br />

attempt to insert over 120,000 votes to 90,000 in favor of<br />

Juan Orlando Hernandez and later add 40,000 votes to<br />

Salvador Nasralla, ending up with a difference of 50,000<br />

votes in favor of Juan Orlando Hernandez.<br />

36 GANAS USA | ganasusa@gmail.com


The thesis that “Rural Vote” was being received is then false,<br />

as the data shows that the distribution was uniform in all<br />

dates.<br />

CONTENT OF ALL UPLOADED FILES<br />

The information was collected from December 1 st to 2 nd and<br />

all images were “Last-Modified” on:<br />

• Nov 27 - 30, <strong>2017</strong><br />

• Dec 1 – 2, <strong>2017</strong><br />

Near 17,000 files were stored the 1 st round and 18,500 a 2 nd<br />

run for major, congress and president. An approximate<br />

storage size of 9GB for president, 7.4GB for municipalities<br />

and 7.3GB for congress.<br />

The files are then stored in four subdirectories;<br />

alcalde/ presidente/ diputado/ and escrutinioesp/<br />

The programs used for this analysis depend on the libraries<br />

fPDF and Pillow. The capturing of all JPEG images and<br />

generating PDF files with them while capturing metadata and<br />

number of votes per precinct.<br />

PDF GENERATING AND TAGGING<br />

In order to facilitate viewing, comparison and analysis, we<br />

converted all ballot report card images into PDF with tags<br />

that made it easier to recognize names, insert text and<br />

identify image patterns. Our team used the project<br />

“honduras_tse_pdf” and converted all files from a local<br />

37 GANAS USA | ganasusa@gmail.com


storage system:<br />

https://github.com/win2013/honduras_tse_pdf<br />

This project includes the following components:<br />

downloads.hn<br />

This program uses CURL to download the patterns<br />

associated with president, alcalde, diputado, and escrutinio<br />

special:<br />

• President [00001-18128]104.JPG<br />

• Congress [00001-18128]405.JPG<br />

• Municipality [00001-18128]606.JPG<br />

• Special Cases [00001-18128]159.JPG<br />

processtoPDF.py<br />

ProcesstoPDF is the program that will connect with<br />

API.TSE.HN and pull the content from the local repositories<br />

and creates a 3-page PDF file precinct document. This<br />

python program can run on Linux and MacOS. The command<br />

processtoPDF read the files from the drives, presidente/*,<br />

alcade/* y diputados/* and generates a PDF info directory<br />

pdfs/*<br />

All PDF generated files were uploaded intro Dropbox and Los<br />

PDFs stored into HULADRIVE (Cloud storage system).<br />

• DROPBOX<br />

https://www.dropbox.com/sh/43gorhq81xrfwhx/AAAv<br />

WUt36Pitwa-uHh8VSWkTa?dl=0<br />

38 GANAS USA | ganasusa@gmail.com


• HULADRIVE – Interface Web (FIG 19)<br />

https://huladrive.com/elections/<br />

FIG 19. HULADRIVE.COM – ELECTIONS Directory<br />

At the same time, the program generates a CSV file with the<br />

dates all images were uploaded into Amazon S3 or its<br />

timestamp, and were used to check per-hour what files were<br />

uploaded into the Amazon’s S3 bucket.<br />

findresoultions.py<br />

This program uses the information on each image and the<br />

vote count to analyze resolution versus the number of votes,<br />

39 GANAS USA | ganasusa@gmail.com


valid votes, and other permutations. The CSV file created is<br />

called data_mining.csv<br />

python findresolutions.py 1 1000 data1000_test.csv<br />

00001, 2776, 1699, 2787, 1696, 2782, 1696, LIBRE-PINU, 81, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 40,<br />

144, 355, 149, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00002, 2789, 1696, 2790, 1701, 2792, 1696, LIBRE-PINU, 82, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 36,<br />

149, 353, 151, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00003, 2800, 1707, 1600, 975, 1600, 975, LIBRE-PINU, 56, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 26,<br />

110, 353, 119, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00004, 2792, 1701, 2784, 1701, 2787, 1698, LIBRE-PINU, 64, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 42,<br />

141, 352, 144, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00005, 2790, 1696, 2784, 1696, 2782, 1694, LIBRE-PINU, 71, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 46,<br />

137, 352, 143, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00006, 2787, 1699, 1600, 981, 1600, 979, LIBRE-PINU, 90, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 39,<br />

158, 352, 162, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00007, 2787, 1696, 1600, 979, 1600, 977, LIBRE-PINU, 93, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 29,<br />

136, 352, 144, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

00008, 2792, 1696, 2779, 1693, 2800, 1733, LIBRE-PINU, 81, PARTIDO NACIONAL DE <strong>HONDURAS</strong>, 39,<br />

139, 352, 142, CENTRO EVANGELICO BETHEL, LA CEIBA, ATLANTIDA<br />

votecount.py<br />

Once all PDF files are generated, searches can be made per<br />

municipality, department, or school. For example, “SANTA<br />

BARBARA” was used to validate this sample (shown in in FIG<br />

20).<br />

40 GANAS USA | ganasusa@gmail.com


FIG 20. SANTA BARBARA<br />

This script uses the PDF generated files and uses the script<br />

uses a the data_mining.csv table and computes the total<br />

number of votes per area within a directory.<br />

For Example:<br />

python votecount.py data_mining.csv pdfs/Santa\ Barbara<br />

Total SN/ALianza:<br />

90803<br />

Totl JOH/PNH:<br />

41 GANAS USA | ganasusa@gmail.com


88652<br />

parselista.py<br />

This program passes the database or a list of MERs and<br />

inserts them into a directory to be copied and then be<br />

analyzed with vocount.py or any other program.<br />

42 GANAS USA | ganasusa@gmail.com


IMAGE PATTERNS<br />

The content of the ballot report images on Amazon’s S3 and<br />

the uploaded segment of the files from Nov 27 – 30 and Dec<br />

1 st and 2 nd . Most the files, 40% was uploaded into the TSE’s<br />

main publication site.<br />

PATTERNS BY SIZE<br />

• The size of the archives was ordered from smaller to<br />

larger file.<br />

• The ballot report cards that did not find an image for<br />

municipality and for congress was marked with the tag<br />

“NOT FOUND”<br />

• In those cases, where no information was found then a<br />

“VOTER MISSING” text was inserted.<br />

43 GANAS USA | ganasusa@gmail.com


Images ordered by Size<br />

The images that were place in directory with 2 or less report<br />

cards (as seen on FIG 21) were classified arranged to detect<br />

irregularities in the fields or the images.<br />

FIG 21 – List of Images with only 2 report cards as of<br />

Dec 1 st , <strong>2017</strong><br />

o We observed a pattern of uploads that are in<br />

sequence and on with dates Nov 29-30 th , <strong>2017</strong><br />

GMT at short intervals of less than 1 second. In<br />

other words, On Nov 28 th , 8:00 GMT the following<br />

44 GANAS USA | ganasusa@gmail.com


files were uploaded at the same time for instance,<br />

followed by 336 other files.<br />

The following MER IDs:<br />

08636,08637,08639,08642,08643,<br />

08645,08646,08648,08653,<br />

08659,08660.<br />

FIG 22 – Update Count of all Images being<br />

Published into Amazon’s S3 from TSE.<br />

45 GANAS USA | ganasusa@gmail.com


o We observed that at MER ID of 11,879<br />

(https://huladrive.com/11879.PDF) which on Dec<br />

2 nd , <strong>2017</strong>, was uploaded as part of another<br />

sequence of tiles from Nov 30, 9:36 GMT thru<br />

9:39 GMT (Thru MER ID 1289)7<br />

(https://huladrive.com/12897.pdf ) .<br />

o More sequences are observed the dates that<br />

followed as shown in the FIG 22.<br />

• This does not match the argument made by TSE about<br />

“Voto Rural” for example:<br />

The following MER IDS were uploaded Nov 28 th at<br />

18:00GMT Which corresponds to Nov 18 th , 1:00 pm<br />

Honduran time.<br />

11048,11050,11051,11052,11053,11054,11055,<br />

11056,11057,11059, 11060,11061,11062<br />

Most of these precinct reports were in CEDROS,<br />

FRANCISCO MORAZAN and were uploaded then,<br />

however the 11053, 11054, 11055, 11056 was<br />

received by the TSE Nov 26 th , <strong>2017</strong> at 18:18 GMT from<br />

ATX ID: 03113 and 03114<br />

The entire argument of “Voto Rural” does not add up as<br />

there are sequences of MERs that were uploaded to the<br />

system all together, even though they had already arrived<br />

via ATX. Like in the example above.<br />

46 GANAS USA | ganasusa@gmail.com


It appears that systematically the ballot report cards were<br />

being uploaded into the system, although something else<br />

was being reported to the public. The process continued in<br />

all the subsequent days and in a controlled fashion.<br />

DIFFERENT RESOLUTIONS FOR IMAGES PUBLISHED ONLINE<br />

As expected, large number of images were loaded to<br />

AMAZON S3 at different resolutions but in its majority, were<br />

published with 2700x1699.<br />

• In the rang MERS between 11000-1300 Juan Orlando<br />

Hernandez wins with 100 votes of difference, with some<br />

exception such as in MER ID 12299.PDF and 12852.PDF<br />

in which Nasralla wins over Juan Orlando Hernandez<br />

• These MERs can be found at<br />

https://huladrive.com/12299.pdf and<br />

https://huladrive.com/elections/12652.pdf<br />

Similarly, most of the uploads in 30 de NOV only very few<br />

ballot report cards were uploaded 27 de NOVIEMBRE a las<br />

09:47 GMT (FIG 23), as shown here:<br />

47 GANAS USA | ganasusa@gmail.com


FIG 23. Ballot Record Card 12299 and 12652<br />

transmitted on NOV 27 9:47GMT<br />

48 GANAS USA | ganasusa@gmail.com


As expected the resolution is different and distinct:<br />

xifTool Version Number : 10.55<br />

File Name<br />

: 12652.JPG<br />

Directory<br />

: ../presidente<br />

File Size<br />

: 329 kB<br />

File Modification Date/Time : <strong>2017</strong>:12:01 03:25:50-05:00<br />

File Access Date/Time : <strong>2017</strong>:12:03 12:44:29-05:00<br />

File Inode Change Date/Time : <strong>2017</strong>:12:01 03:25:50-05:00<br />

File Permissions : rw-r--r--<br />

File Type<br />

: JPEG<br />

File Type Extension : jpg<br />

MIME Type<br />

: image/jpeg<br />

JFIF Version : 1.01<br />

Resolution Unit : inches<br />

X Resolution : 72<br />

Y Resolution : 72<br />

Image Width : 1600<br />

Image Height : 973<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 3<br />

Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)<br />

Image Size<br />

: 1600x973<br />

Megapixels : 1.6<br />

ExifTool Version Number : 10.55<br />

File Name<br />

: 12299.JPG<br />

Directory<br />

: ../presidente<br />

File Size<br />

: 300 kB<br />

File Modification Date/Time : <strong>2017</strong>:12:01 03:21:48-05:00<br />

File Access Date/Time : <strong>2017</strong>:12:03 12:41:55-05:00<br />

File Inode Change Date/Time : <strong>2017</strong>:12:01 03:21:48-05:00<br />

File Permissions : rw-r--r--<br />

File Type<br />

: JPEG<br />

File Type Extension : jpg<br />

MIME Type<br />

: image/jpeg<br />

JFIF Version : 1.01<br />

Resolution Unit : inches<br />

X Resolution : 72<br />

Y Resolution : 72<br />

Image Width : 1600<br />

Image Height : 973<br />

Encoding Process : Baseline DCT, Huffman coding<br />

Bits Per Sample : 8<br />

Color Components : 3<br />

Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)<br />

Image Size<br />

: 1600x973<br />

49 GANAS USA | ganasusa@gmail.com


Megapixels : 1.6<br />

• All the evidence indicates that files were uploaded in<br />

batches in intervals of 1 hour each (as shown in FIG<br />

22), and in sequence. The file mers_by_date.txt<br />

contains per hour the identifiers of what ballot IDs were<br />

uploaded and for what type of report.<br />

NOV 27, <strong>2017</strong><br />

OTHER DATES<br />

TOTAL IMAGES 7,180 6 All the rest<br />

IMAGE<br />

RESOLUTION<br />

JPEG 1600x973<br />

JPEG<br />

~2700x1699<br />

6<br />

The TSE is systematically replacing all MER information<br />

from 1600x860 to 2700x1700<br />

50 GANAS USA | ganasusa@gmail.com


Growth Behavior is directly proportional to the Ballot Record Card ID<br />

A video was taken where you can observe the growth of<br />

votes for one candidate versus the other. As shown, the<br />

proportion of votes changes from MER ID 10,000 thru<br />

13000, in this timeframe the advantage that Salvador<br />

Nasralla had over Juan Orlando vanishes and the growth<br />

rate of Juan Orlando increases drastically.<br />

https://www.dropbox.com/s/kbz5lpazxqb9akd/IMG_6781.M<br />

OV?dl=0<br />

• Review time from 0:00 and at 4:24 you can see how<br />

the trend changes to 3100 votes in favor of Juan<br />

Orlando Hernandez<br />

• The area of 1 – 11,000 MER identifiers is where all<br />

remains about constant in terms of growth and data<br />

converge.<br />

The explanation of this phenomena is simple, there were<br />

more than 5500 MERs without being transmitted to the<br />

political parties. Most of these MERS were located from MER<br />

ID 10,000 thru 18,000 with more than 60%. In other<br />

words, 4000 MERs were not known or available at that<br />

range.<br />

The missing voter information is shown in the following<br />

figure (FIG 24). As expected, the modifications made in all<br />

the ballots record cards took place in the higher ranges as<br />

51 GANAS USA | ganasusa@gmail.com


those where the majority of votes that were not yet<br />

recorded not received by all political parties.<br />

FIG 24 – Number of Missing MERs per Prescint’s<br />

Range Identifierfs (President) on NOV 27, <strong>2017</strong><br />

RANGE MERS PERCENTAGE<br />

0 to 1k 61 1%<br />

9 to 10k 67 1%<br />

4 to 5k 84 2%<br />

10 to 11k 119 2%<br />

5 to 6k 194 4%<br />

17 to 18k 206 4%<br />

3 to 4k 211 4%<br />

6 to 7k 231 4%<br />

1 to 2k 235 4%<br />

8 to 9k 318 6%<br />

52 GANAS USA | ganasusa@gmail.com


2 to 3k 386 7%<br />

7 to 8k 395 7%<br />

14 to 15k 412 8%<br />

16 to 17k 417 8%<br />

15 to 16k 437 8%<br />

12 to 13k 499 9%<br />

11 to 12k 518 10%<br />

13 to 14k 569 11%<br />

As shown, it is now obvious why the video depicts an<br />

inflection point at MERID = 13065 as this range had the<br />

majority of ballot report cards that were not transmitted to<br />

the political parties.<br />

More than 100% at TSE.HN<br />

In and around Nov 30 th thru Dec 2nd of <strong>2017</strong> if you<br />

manually added al percentages obtained by all candidates<br />

the total returned 100.9%, which was later on corrected.<br />

53 GANAS USA | ganasusa@gmail.com


ADDITIONAL SOFTWARE<br />

AND BENFORD TEST<br />

VOTO SOCIAL<br />

“Voto social” was used with the data provided by TSE and<br />

the population converged at 10% of the samples. In other<br />

words, at 10-20% it was easy to observe a 40/39%<br />

distribution among the candidates in dispute. Hence, the<br />

theory that a rural population was the one shifting the<br />

election is flawed and bogus (As shown in FIG 25).<br />

However, the election shifted as the higher MER ids had an<br />

enormous difference in distribution and Juan Orlando<br />

Hernandez won at 60/40%.<br />

54 GANAS USA | ganasusa@gmail.com


BENFORD ANALSYSIS<br />

FIG 25. VOTO SOCIAL – User Interface<br />

The Benford test applied to the 1 st digit is used to validate a<br />

population and numbers and detect anomalies and potential<br />

fabrication of information. This test was used in financial<br />

systems and is also used to detect voting fraud. The Test<br />

follows the “Benford Law’ distribution where each digit<br />

probability is Log(N)-Log(N-1). The computation is quite<br />

simple and requires the use of the command LEFT using<br />

“LEFT (cell_id, 1))” and applying the frequency counter<br />

with l “COUNTIF(range, id of integer)”.<br />

55 GANAS USA | ganasusa@gmail.com


The Benford law can be found described in Wikipedia<br />

(https://en.wikipedia.org/wiki/Benford%27s_law) and a<br />

distribution of the 1 st digit is expected as shown in FIG 26.<br />

FIG 26 – Benford Law Distribution for 1 st Digit<br />

This test can be applied to detect voter fraud and election<br />

rigging and according to this publication in “Stats in The<br />

Wild” it can be applied in many elections:<br />

https://statsinthewild.com/2016/11/26/fun-with-benfordslaw-election-2016-edition-whats-up-with-iowa-andmississippi/<br />

56 GANAS USA | ganasusa@gmail.com


Some results were shown including another study for<br />

Romney vs Obama in 2012 (FIG 27) or Clinton vs Trump in<br />

2016.<br />

FIG 27. ROMNEY vs OBAMA Benford Test<br />

This distribution technique was applied in Honduras voting<br />

information and failed as shown the orange line reports the<br />

Benford curve and the bars the distribution of the 1 st digit in<br />

57 GANAS USA | ganasusa@gmail.com


Honduras <strong>2017</strong> election, as shown in FIG 28, the curve<br />

depicts fraud and number fabrication.<br />

FIG 28. Benford Test applied to Honduras Election of<br />

<strong>2017</strong> to the 1 st Digit (18,000 samples)<br />

.<br />

58 GANAS USA | ganasusa@gmail.com


CONCLUSIONS ON THE<br />

PUBLICATION SYSTEM<br />

• We suspect that other means besides ATX devices were<br />

used to update Ballot count reports (ACTAS) as shown<br />

in MER ID 14834 sent from a mobile phone.<br />

• All time stamps in all images indicate an elaborate and<br />

non-random process of updating all the voting<br />

information.<br />

• Most of the images were updated and changed from<br />

1600x970 to 2700x1700 and published like that on the<br />

web, removing all watermarks and all ATX information.<br />

• The shift seen from MER ID 10000 to 18000 is seen as<br />

more than 60% of the missing MER ids were located<br />

within that range coinciding with the shift in the trends.<br />

59 GANAS USA | ganasusa@gmail.com


• Benford test fails in all number of votes on the 1 st digit<br />

indicating some fabrication and election rigging.<br />

• “Voto social” showed that the population of voters is<br />

homogeneous and there is no shift in percentages from<br />

ballots coming from rural areas as with 10% of the<br />

population the results converged.<br />

• More than 40% of the IMAGES were updated NOV 30 th ,<br />

and it seems to follow a systematic updating process,<br />

with ranges of images uploaded at different dates.<br />

60 GANAS USA | ganasusa@gmail.com


OVERALL CONCLUSIONS<br />

In summary, there is a direct correlation between a winning<br />

number of votes seen in MERs that were sent from INFOP,<br />

that were allegedly manually counted, manually scanned,<br />

without ATX Information, without security watermarks<br />

versus the MERs that were received from each precinct the<br />

day of the election.<br />

Besides changing a voting trend being statistically<br />

impossible, the addition of 174,000 votes in 5,000 precincts<br />

to overcome 118,000 vote leading count by the other<br />

candidate, is highly suspicions and more so when the votes<br />

counted show numerous anomalies.<br />

This discrepancy can only be attributed to manipulation and<br />

fabrication as shown in the results herein.<br />

.<br />

61 GANAS USA | ganasusa@gmail.com


62 GANAS USA | ganasusa@gmail.com


REFERENCES AND LINKS<br />

• Amazon S3 – Bucket ofl TSE<br />

https://s3.amazonaws.com/uploadtrailhn/<br />

• API TSE – https://api.tse.hn/<br />

• TSE.hn http://www.tse.hn<br />

• Results TSE https://resuldadoshonduras<strong>2017</strong>.tse.hn/<br />

• Github project honduras_tse_pdf<br />

http://github.com/win2013/honduras_tse_pdf<br />

• HULADRIVE - https://huladrive.com/elections/<br />

• DROPBOX<br />

https://www.dropbox.com/sh/43gorhq81xrfwhx/AAAv<br />

WUt36Pitwa-uHh8VSWkTa?dl=0<br />

• Benford Test/Law – Wikipedia<br />

https://en.wikipedia.org/wiki/Benford%27s_law<br />

• Pillow, fPDF : https://github.com/Setasign/FPDF.git y<br />

https://github.com/python-pillow/Pillow.git<br />

63 GANAS USA | ganasusa@gmail.com


EXHIBITS<br />

Nov 27th, <strong>2017</strong> – Dec 2nd, <strong>2017</strong><br />

File: mer_by_date.txt<br />

Description: MERS uploaded by date into Amazon S3<br />

per hour and date<br />

https://drive.google.com/open?id=19oiTqvJHv1C<br />

sQKn_5bWfrJJIojDHc4tc<br />

File: Data_Mining_Dec09.csv<br />

Description: Information Captured from API.TSE.HN<br />

including resolution of each image.<br />

https://drive.google.com/open?id=1TjrgsSvrhZFg<br />

JjXYt1b-Uma3MXqt6Q_i<br />

File: fake_mers_imageinfo.csv<br />

Description: Image Information of all MERS received by<br />

INFOP – Resolution of each image<br />

https://drive.google.com/open?id=1guxKJYwKyw<br />

7lrTTSw6AbvFN2dIKQVQXh<br />

64 GANAS USA | ganasusa@gmail.com


.<br />

CONTACT US - GANAS<br />

USA<br />

Group of US/Honduran software engineers with expertise in<br />

software and information systems. We worked in the US and<br />

Honduras. We have reviewed publicly available information<br />

and provided all methods and source code for anyone to<br />

reproduce the same results.<br />

The facts speak for themselves, we are just the messenger.<br />

For questions please send them to ganasusa@gmail.com<br />

65 GANAS USA | ganasusa@gmail.com


We access to all the files, images, documents, and document<br />

count.<br />

• ALL TSE Images Snapshot – Dec 1 st , <strong>2017</strong> with all<br />

timestamps<br />

• ALL TSE Images Snapshot – Dec 9 th , <strong>2017</strong> with all<br />

timestamps<br />

• TSE Vote count several dates<br />

• Files from ALIANZA OPOSITORA and PARTIDO LIBERAL<br />

66 GANAS USA | ganasusa@gmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!