7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions
comment 9y ago · link · parent
comment 9y ago · link · parent
This one is your data turned out to be code. There are many, many books on all the various forms this takes. Memory corruption cat and mouse..... It is a long complex story that we can sweep up to that generalization. But it is important to know that high, medium, and low level of these issues. They form a gigantic tree. The medium level somewhere between is where devs need to threat model most of the time. But some of the time things are very specific and you just need to know about the specific thing and not it's various generalized forms, because the specific thing can really matter. E.g. simple programming mistakes lead to side channels, etc. We can generically understand a side channels easily. But it takes a ton of specific hard earned knowledge to avoid it.
comment 9y ago · link · parent
CSV -> import on web app -> SQLi
Malicious input -> CSV download from web app -> Excel -> formula -> sneaky data exfil
CSV -> JS -> import into web app XSS (in places no other XSS existed because of the data)
CSV import -> weird CSV header -> arbitrary data loading (headers were column names.... Schema injection .. like SQLi only more hilarious
Point is apps and devs can have blind spots (knowledge gaps) or just not think of a CSV import or export like other functionality.
comment 9y ago · link · parent
You should then have the perfect proxy centipede. For bonus fun use dnsmasq and blacklist domains via DNS too.
Things get much more complex if you want to do things transparently. Now you have to monkey with iptables. The idea is similar though. Start with Privoxy getting all HTTP traffic on a router. Forward to Squid. Have Squids dynamic SSL cert on your client devices.
comment 9y ago · link · parent
Mitmproxy is great and we use it a lot, but it will have a pretty big hit on your performance. They have a more streamlined tool, mitmdump that is more aimed for these use cases, but it is still not written for performance first.
https://www.cyberciti.biz/tips/linux-setup-transparent-proxy... https://wiki.squid-cache.org/Features/DynamicSslCert https://wiki.squid-cache.org/Features/SslPeekAndSplice
That link is an exact recipe for what I am talking about. It isn't really trivial to setup, but it does work well. Then, you can transparently privoxy ALL of your connections. You have to mix and grind several ingredients together.
Specifying proxy is always easier/better, but transparent with upstream (from squid) proxies is possible. Squid can also do much of the ad blocking as well like privoxy, just without as nice of a config look and feel.
edit: Just keeping things simple, I use squid with dynamic ssl certs, non transparently and have most of the rules I used in Privoxy working fine on Squid as the "one proxy" to run browser through. This prevents needing to monkey with proxy rules. As a bonus idea I also run this Squid on a perma-privacy-VPNd box, and always force certain site traffic through using a browser configuration like ProxySwitch Sharp. If you are really paranoid you can keep your sensitive traffic through your home / more trusted connection (whitelist style) and then route everything else through Squid/Privoxy.
Setting up a nice little Linux VM that simply can't route traffic without the VPN connection is very nice, it ensures traffic thru your little VM can't leak if something on the VPN fails.
comment 9y ago · link · parent
On the executive front, yes, you are more likely to reach that level of position having a "wealthy background" but there are plenty who don't. Your odds of becoming a moderately successful executive of a medium sized business coming from a middle class background seem dramatically better than winning the tech startup lottery.
I dunno, I just think these categories are very broad and multi dimensional so that you can make decent arguments against the point that a wealthy background being required.
comment 9y ago · link · parent
I think people are missing the point of DSLR to some extent. They aren't meant for this sort of thing. If you want onboard editing, don't use a DSLR. It is meant to be very good at one thing. It doesn't /want/ you to edit photos in place. It wants you to load them up onto a secondary computing system. I like my D90 the way it is. It can sit for weeks and not need a charge, and it is an instantly responsive camera, that happens to have a computer.
comment 9y ago · link · parent
You can still use MiTM HTTP proxies pretty easily. If they don't pin certificates it is trivial. If they do pin certificates you have to understand how they are doing it and break that. Often trivial to easy, but requires an app-specific approach.
We haven't met an Android or iOS app using HTTPS that we could not MiTM yet. Usually without a lot of effort. Some times with a small to moderate amount of effort (a couple hours to a day of poking the app/code/certs).
comment 9y ago · link · parent
It is the same with any assessment or consulting. We always try to leave recommendations, strategic and tactical, which advise them on next steps. Often, those next steps involve us helping them with more assessment work, directed at the most security sensitive areas to maximize usage of often limited security budgets. What will get them hacked next, basically.
Smaller firms with more technical staff definitely shy away from risk assessment and compliance work because it is, honestly, repetitive and boring. But, it also drives a tremendous amount of hard technical work into any firm because if you can't sell someone a pen test or technical assessment after doing advisory work you aren't very good at things.
Sorry if that sounds cynical or like "everyone needs more of our services and pen testing", but that is the model. It is also why boutiques exist. We don't just give brain dead "yep, you need pentesting, and it is going to be expensive" recommendations. We tailor it and focus on what the customer actually wants/needs. Whereas, a big4 tends to rotate consultants and lose knowledge unless it is staff aug. The relationship and understanding engineer teams really matters when you want to do the most interesting assessment work AND provide value to the customer and not just "sell them pen tests" :)
comment 9y ago · link · parent
Hits close to home though. Anyone can get owned. Even elite teams and individuals have had their email compromised. (Matasano, Kaminsky).
Everyone make sure your users have and use good 2 factor authentication. Make sure you don't keep much sensitive data on your email servers. Encrypt sensitive documentation in email. Have sane retention policies (1-2 months max on a cloud server). Lock down your admin accounts. Kick out all the old accounts completely. Take the time to talk with each person at your company about email security and suspicious emails. Especially administrative and HR staff. Of the deep penetrations into orgs I know of a high percentage happen thru email. Oh and do some internal phishing, FWIW. It's good to get discussions rolling and get everyone's attention.
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
Why use an annoying SDR and a flaky LATE stack when you can just buy and root a carrier femto? :)
Also, this is why you never use your real phone at DefCon/BH... Some joker's always have these going.
comment 9y ago · link · parent
Netflix's Marvel shows are interesting too, especially Like Cage. But those aren't movies :)
comment 9y ago · link · parent
But in the media, on Facebook... anywhere, people say they are an expert at some random bullshit or non-bullshit thing, state some stuff, and if it fits within someone's world view it is then accepted as fact. If it doesn't fit within their world view it is rejected for any number of reasons.
To reach the people who will be the hardest convince, the people who run to the doctor and ask for antibiotics every time their head gets stuffy linking to studies is pointless. Saying you are an expert is pointless. Using any sort of logical reasoning is pointless. Because those people KNOW they feel better when they take antibiotics. You literally have to market your value to them and probably lie or cast things in an extreme way to be heard these days.
Yet on HN and among the technologists, though we are susceptible to the same things, as a broad group, we are one of the few that still respects facts and experts. If Richard Feynmann tells me this is how magnets work, I believe the guy.
My default approach is that someone claiming to be an expert is just a big giant red flag these days. It is a real problem of how to figure out who we can trust. I am just trigger happy and jumpy about people who claim to be experts because in modern media that usually means the opposite. Anyhow, I don't know what the right answer is, but I should definitely overlook writing style a little more and focus on what facts, if any, an author is providing.
comment 9y ago · link · parent
I dislike when someone needs to inflate the worth of their ideas by repeatedly reminding us they are experts. Show me facts. Briefly, and I mean briefly, introduce your background up front and let your evidence and ideas talk, not "I am an expert, trust me". Especially on issues such as this one.
This is not to say credible people should always be challenged constantly for facts, but said credible don't need to make such a deal out of it.