r/programming • • Jul 14 '19

Australian programmers could be fired by their companies for implementing government backdoors

https://tendaily.com.au/amp/news/australia/a181206zli/if-encryption-laws-go-through-australia-may-lose-apple-20181206
3.6k Upvotes

414 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jul 14 '19

[deleted]

13

u/non-stick-rob Jul 15 '19

that'll fixed too easily and quickly. what you want is corruption.

yes "give as good as get". it can happen both sides.

Data being exfiltrated (via backdoor) can be found to be corrupted during legitimate CRC checks...

.. if one so desired to validate the integrity of outgoing data, thoroughly and randomly enough.

1

u/[deleted] Jul 15 '19
adminIds = "SELECT id FROM users WHERE is_admin = l;"

if user.id in query(adminIds):
    # do normal looking stuff

And no one would suspect a thing ;)

1

u/philipwhiuk Jul 15 '19

I think this is supposed to be an == attack but in SQL comparison uses one equals.

1

u/[deleted] Jul 15 '19

Nah, it's about int(1) and lower case L looking almost identical :) And unless the column is TINYINT, this would not throw any SQL errors or warnings. You just never would match as an admin user ;)

1

u/etcetica Jul 15 '19

put the portal through backdooradmins.com then let the domain expire

0

u/ourlastchancefortea Jul 15 '19

So the PHP approach?