Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 7y ago · link · parent

I don't have those graphs with spikes at the moment, but there are more interesting ones.

Here is an article in Russian with graphs [1]. This [2] is a graph where axis X contains a turnout percent (how many voters took part in voting at a polling station) and axis Y contains a number of polling stations with that value of turnout.

Here is another graph [3]: axis X contains turnout percent, axis Y contains number of people registered at the polling stations and each point is a station (there are about 90 000 total in Russia). You can see that there are large polling stations with turnout above 90% and number of voters above 2000. You can also see that elections seem to be very popular as majority of the points lie in the right part of the graph.

This graph [4] is built by the same rules, but contains data only on polling stations from one southern region - Ingushetia. You can see how neatly points align along the line at 80% turnout. People of Ingushetia are very active.

These graphs [5] are built by the same rules, but for other region - Chechnya and for 4 different elections in 2011, 2012, 2016 and 2018. The perfect line in 2011 becomes diffused by 2018 and slightly shifts to the left. On the graph for year 2018 one can see that there are "atypical" polling stations who have suspiciously low turnout. One of possible explanations for this could be that in 2018 several dozens of brave volunteers decided to take a risk to go to Chechnya as observers.

[1] https://habr.com/ru/post/352424/

[2] https://hsto.org/webt/2y/xh/wf/2yxhwffbr7oy0escvp1ecvmcjdc.p...

[3] https://hsto.org/webt/4h/3e/ko/4h3ekola6f-to10zgpvlbg9bd1g.p...

[4] https://hsto.org/webt/ri/c6/ul/ric6ulcyzuefrxvnjm7n6g7qcz8.p...

[5] https://hsto.org/webt/dw/j2/bl/dwj2blnsrah7_fwkzbqk4eyucga.p...

comment 7y ago · link · parent

Putin might win; Putin's party ("United Russia") is not so popular, has a lot of negative opinions, has dubious people (e.g. a government official having lot of expensive real estate which cannot be bought with their declared income), has lot of people who are incompetent and who are kept for their loyality.

If they could win easily, why would they falsify election results or ban opposition candidates? They don't want to play fair.

This is actually a problem for Putin, that he has certain popularity and trust, but it isn't transferred to people from his party, to governors etc.

comment 7y ago · link · parent

Blockchain is used in cryptocurrencies to have a shared registry modified and verified by independent nodes who don't trust each other. Using it, you can prove to anyone that you have X bitcoins, and anyone who received them from you can prove this too.

In case of voting, there are no independent nodes, all modifications to the registry are done by the election committee (or authorised by them) and users can only verify the transaction list. So it would be easier to just present election events as a Merkle tree (voter X has submitted an encrypted ballot Y, and the hash of the registry before this was Z).

But in this case there would be no "blockchain" and no feeling of reliability and security.

If I made a mistake here, I would be happy if someone would point at it.

comment 7y ago · link · parent

Also the attack described by the research could actually be a good thing. Decrypting votes would allow to discover fraud, in case if it happens.

comment 7y ago · link · parent

Researchers overlook more important issue. As the government controls the servers, it can impersonate any number of users.

Users submit an application to vote remotely through a government-controlled site and confirm it by receiving a SMS with code. It is obvious that government is able to submit such an application to its own server without bothering the real user.

The users vote remotely and confirm their identity by providing a code from SMS (again) and the government can just look at the code on the server. It isn't important what cryptography is used there. You don't need to guess random numbers when you have root access to the server.

The observers are supposed to see a tape where some hashes will be printed when someone votes. Maybe they will be allowed to see the registry of voters who chose to vote remotely, maybe they will not be allowed.

I cannot prove this, and this is my personal opinion, so you shouldn't believe me, but I think the government wants an opaque procedure to produce legitimate looking election results with desired outcome. With paper voting, there are too many points of failure: it is difficult to throw the ballots in the box when there is a vigilant observer. Remote voting doesn't have such flaws.

If there was a fraud, it would be difficult to explain to a non-programmer. They don't understand anything, they just see how the program says "hash doesn't match". But maybe it is just a program written by foreign agents (and stored on foreign "Github" servers) producing fake results. For comparison, with paper voting anyone can understand that there is a fraud if you show them the video.

Also, the government party is slowly losing its rating and starts losing regional elections. Remote voting might be a cure for this undesired situation.

And probably any other government (for example Estonian) that implements such an opaque system has similar aims.

comment 7y ago · link · parent

it is important that Kazakhstan's government lied about the purpose of certificate: it said it was necessary to access government sites and for connection security. But actually connection security was compromised.

Browsers and OS vendors must provide clear explanations, when adding a third-party certificate. For example, Android shows a notification that traffic can be intercepted and allows to disable third-party root certificates.

comment 7y ago · link · parent

It doesn't matter who ordered to issue a certificate, a CA must not issue fake certificates anyway and discovery of such a certificate is a proof of violation of rules.

comment 7y ago · link · parent

What surprises me in C developers is that C exists for probably 40 years but they still don't have proper strings (not just pointers). In many cases there is no large performance penalty for storing string length, and checking it, but they still use pointers or a separate pair of variables for pointer and buffer size instead of single object.

comment 7y ago · link · parent

I assume there are some limits on number of uploaded contacts (probably on order of thousands) but they can be bypassed by creating thousands of accounts each with different contact list. One SIM card here in Russia costs as low as several dollars, and probably cheaper if bought wholesale, so it is not very expensive.

Also, here is a quote from an article in Russian [1], where it is claimed that there is a software to de-anonymize Telegram users:

> A phone number used by [Telegram] account @silovikicat was discovered using a program titled "Insider-Telegram" developed by the "Center of research of legitimacy and political protest". The head of the "Center" Eugene Venediktov explains: "Currently the database contains over 10 million of numbers. We just go through all possible numbers and check whether they are registered in Telegram: for example, we take all numbers starting with a prefix +7911 and check them. You automatically see all contacts from you address book in your Telegram, don't you? We just have a very "fat" address book with phones of all users from our country."

> When a phone number provided by Eugene is added into an address book, Telegram automatically matches it with account @silovikicat («Siloviks' cat»).

[1] https://meduza.io/feature/2019/08/10/kto-takoy-tovarisch-may...

comment 7y ago · link · parent

Signal could allow both options: register with a phone number or with completely anonymous logins. I think they just don't want anonymous users, visits from FBI etc. Also, it is not very profitable to sell ads to anonymous users.

comment 7y ago · link · parent

What goal do you mean? Sell users to marketers?

comment 7y ago · link · parent

You can just provide a choice, whether user wants to use a phone number and a real name, or just an anonymous login, not linked to anything. Why Signal doesn't want to do this? They don't want users to be anonymous, they want real names, addresses and GPS locations I assume.

comment 7y ago · link · parent

Signal could allow using it without a phone number, and let people themselves choose between anonimyty, social graph and trust. Why didn't they allow it? Because they don't want anonymous users I assume.

comment 7y ago · link · parent

Car security systems always were this unreliable. Earlier systems were vulnerable to replay attacks or had weak encryption. I think they are made to protect against random person walking by, not a professional and well-equipped attacker.

comment 7y ago · link · parent

Firefox is open source. You can changing anything in the code instead of demanding that Mozilla compromises everyone's security for your particular case. All you need is 40 Gb of free space on HDD and 4 Gb or more of RAM if I remember correctly. And if you are working for a government organization, they probably have someone who can fix such issues.

comment 7y ago · link · parent

Mozilla is a little late, to be honest, because now the testing of a "security certificate" is over and the government (temporarily?) gave up an idea to force everyone to install the certificate.

But I think it is important that OS or browser's UI would display true information about consequences of installing a certificate because government usually lies about it, telling something like it is necessary to protect users when browsing the Internet. For example, Android shows a reminder when third-party root certificate is installed and offers a quick way to remove it.

comment 7y ago · link · parent

Games typically need only access to video adapter, sound card and maybe network. They do not need access to your browser's cookies or history, or documents folder, for example. This probably doesn't require using VM.

comment 7y ago · link · parent

I wanted to note that the researcher was not banned at HackerOne, he was only banned from reporting bugs to Valve. This is written in the article about a second vulnerability [1]

[1] https://amonitoring.ru/article/onemore_steam_eop_0day/

comment 7y ago · link · parent

Also I wanted to add that internal passport is valid for a long time and you have to change it only twice in a lifetime: you get it first time at 14, then get a new one at 20 and at 45 years and that last one is valid forever (of course if you don't happen to die). So although there is a fee to pay, it is not really expensive.

comment 7y ago · link · parent

I'm not saying that electoral system in Russia is perfect; it is constantly manipulated by authorities. They are very inventive and develop new techniques every time. Nobody can be trusted, because we saw how the head of central election committee was looking for excuses to justify banning opposition candidates that you mention and ignore their objections. The meetings were livestreamed and I watched hours of such videos trying to clear up everything for myself.

But this allows us to see what measures to ensure transparency work in such circumstances and what don't. We see that independent observers and paper voting at polling stations help to prevent fraud and electronic voting would be completely opaque and uncontrollable.

comment 7y ago · link · parent

If there is an observer in the polling station, how are you going to throw ballots in a box without them noticing? You need to find people who would pretend that they are voters. It only works when nobody is watching (when nobody cares).

Also, here in Russia, voters put a signature in the voters registry when receiving a ballot.

comment 7y ago · link · parent

Tampering with voting machines software is easier, less noticeable and doesn't even require a cooperation from staff at the polling station (which ballot stuffing requires). You just need cooperation from the manufacturer.

comment 7y ago · link · parent

In Russia you need to show an ID (internal passport) to receive a ballot and put a signature into the voters registry. So duplicate voting is possible only with the help of election staff (usually in such case a person has something in their passport, or says a code word that gives a hint that he should receive a ballot without checking his name against the registry).

comment 7y ago · link · parent

Replace the firwmare (or even the whole motherboard) long before election day when there are no observers yet.

> to disassemble the machine

Is it that difficult?

comment 7y ago · link · parent

Also, here in Russia, people who are observers, are often opposition activists, who dislike the government and for example take part in illegal protests and get arrested for this. This is the type of people that would be most difficult to bribe.

comment 7y ago · link · parent

Here in Russia, every candidate can assign up to 2 observers to every polling station (and also one person to the election committee). As the people are chosen by a candidate, we can assume that they are motivated and you cannot easily bribe them.

Also, with presidential elections in 2018, there were no prior notifications and the government didn't know who was going to become an observer before the voting day, which was nice.

Sadly, you cannot become an observer by yourself, I don't like that.

I haven't heard about bribes or threats, but there were cases when an observer was taken away by police for allegedly being too loud and obstructing the voting. In recent elections, independent observers used a Telegram chat for coordination, so that they could ask for consultation or ask someone else to come to the polling station if something happened.

In Russia fraud is usually committed by election staff who often are public school employees, social care or government workers, people who are paid by the government. And typically they prefer to falsify results when there is no observers, they don't want to appear in Youtube videos.

Of course, in other countries the situation may be different.

comment 7y ago · link · parent

In Russia we had cameras on approximately half of polling stations (about 45 000) and the video was streamed online (the site didn't allow saving videos, but activists managed to write scripts to do it in a short time). The total expenses for this were about $41M.

comment 7y ago · link · parent

Here in Russia (and I assume in other countries too) we have rules where the mark can be put and where it cannot be, so if you write anything outside of the box, it won't be counted.

comment 7y ago · link · parent

Interesting. Does it mean that people who don't own a car, have to take driver's education courses just to be able to buy alcohol?

comment 7y ago · link · parent

With scanning machines there still is a problem that they can be tampered with and even if you see that the outcome doesn't match exit polls, you don't have any solid proofs to require the manual re-counting of paper ballots.
1
125126127
185