Better HN
topnewbestaskshowjobs
Log inSign up

bitexploder

7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions

I did not keep blogging.
Submissions

comment 9y ago · link · parent

Use an OS that doesn't attack you then. Ubuntu with i3 and I never see a single OS screen. On a 34" wide monitor it's editor, terminal, browser. Pixel edge to pixel edge. No fluff. No bullshit. No battling window sizing. It's like focus mode, only with more windows :)

comment 9y ago · link · parent

I agree in sentiment. This is why I love i3. Just the will down I want where I want. No OS fluff.

comment 9y ago · link · parent

I researched this. With a decent battery and solar system you can power a monitor and laptop all day long.

comment 9y ago · link · parent

You have to do both. When something unusual comes up it is good to file it away as a possibility. To be fair these have ways been "obvious" on pentests. When you start from the point of all input is dangerous, how can I abuse this one, it becomes the logical conclusion to put in an Excel formula. That is your point, I think. But my experience has told me some inputs are just assumed safe, even by developers that program defensively. So you have to embrace both IMO.

comment 9y ago · link · parent

Well, it catches folks by surprise. We could abstract all computer vulns down to a few broad computing concepts, but that isn't as useful.

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

I have been finding this vulnerability in apps since I started in infosec 10 years ago. I have seen it go any number of ways:

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

Direct proxy, no transparent, client -> privoxy -> squid -> http(s) sites. I trust Squid at the tip a lot more. Forwarding Privoxy to another proxy is easy. Read the Forwarding section of the Privoxy manual. Setup Privoxy how you want. Forward to Squid. Follow: https://wiki.squid-cache.org/Features/DynamicSslCert

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

It is generally easier to use Squid in reverse mode. It is a production quality proxy that can do reverse proxying. You can generate a CA cert, install it onto Squid chain it to privoxy and install the CA cert into your browsers.

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

Yes. In situations where a hash is modifiable by the user and you do string comparison the issue exists. It isn't solely a problem for MACs.

comment 9y ago · link · parent

ORM is like C++. SQLAlchemy is the best ORM I know of. You can use it lightly and map tables, migrations, and never go deep into the ORM "problem". Saves you a lot of effort doing SQL push-ups. Many projects doing OO end up building a worse ORM from scratch eventually.

comment 9y ago · link · parent

If you smooth out the case shiller over the last 30 years the market on the whole is right where it would have been given typical growth without the crazy manipulation.

comment 9y ago · link · parent

I could write a book about this. I am pretty easy to find. Send an email to info at carve|systems dot com (no pipe) and ask for bitexploder and we can take it from there.

comment 9y ago · link · parent

What is the bar for "wealthy background" and "founder". My parents clawed there way to what I would call middle class (most of the time). I am not a founder of a software product firm, but am a founder of a successful consulting firm. We are 4 years into it now.

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

Perhaps it just needs to be a separate system completely that shares a display and storage. Separate battery. Keep the existing highly tuned photo system. Augment by having an onboard computer.

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 would have to tear apart the Android app itself. If it isn't obfuscated, it usually comes out pretty clean. Depends on how they implement things from there, but you could in theory reconstruct all their calls to their backend from the code. If they have an API/HTTP client that wraps it up nicely it often simplifies this chore from a static analysis perspective.

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

A lot of their "cybersecurity" revenue does indeed stem from advisory and risk assessment oriented work. They still have technical teams of varying quality that perform "penetration testing", though. Often the follow up and methodology for any risk assessment is to leave an executive with strategic recommendations. Many of these recommendations are the actual technical work. No way a Big 4 sends technical, even heavily technical, work to some other firm. They just say, "yes, we do that".

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

Hopefully, most folks buying "cybersecurity" consulting know to use boutiques for legitimate assessment work. Quality using a big 4 is extremely variable. Many of my customers have told me this over the years. They do have good people, but actually getting one of their few decent folks on your project is hard.

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

I agree styling isn't exactly easy, but I have built very nice mplex diagrams I'm a fraction of the time I could have done it in a tool like Visio. Compared to endlessly thrashing about in a GUI it is still a dream. I think because it is just polish no one has really had the desire to do a significant update.

comment 9y ago · link · parent

Gephi might work.

comment 9y ago · link · parent

When you are learning spending time on the front end is a terrible time investment. Your first web apps are for yourself usually. This is exactly why the grandparent gets frustrated. Make an ugly app that works first.

comment 9y ago · link · parent

Yes. Write simple but correct HTML. Don't make it look nice. Make the UX good. Don't spend time with crazy JS frameworks. Simple forms. Use properties for screen readers and usability if you must. When you are learning avoid getting sucked into JS and CSS holes.

comment 9y ago · link · parent

If you want to write web apps, save the HTML for last. When you are writing apps for yourself you write just what you need. That is what I am saying. Functional HTML first. It's not hard to write plain looking but very good UX. I think we are agreeing. I meant write stuff that works but is not fancy and avoid the big JS frameworks.

comment 9y ago · link · parent

That's cause the web is full of hype. Try Python Flask. A three line Python function and you are going. No magic. Just request and response. It is easy. Bang out a model class and read the SQLAlchemy tutorial. The web and RDBMS with just enough magic. Screw HTML front ends. Write the ugliest HTML you want. Never spend time in HTML. Make your app / idea work. Get your data right. Front ends and modern front end tech stacks are an unholy time suck that offer little for hobby or small apps.

comment 9y ago · link · parent

Let's talk about common first and last name @ Gmail.... It is ridiculous. Oh the things I have seen. I have gotten multiple financial account resets over the years.... Retirement account statements with resets..... Loan info...

comment 9y ago · link · parent

Meh. We already had full femto on a carrier network compromised. They fit in a backpack and are easy to power on batteries. And we actually use them for full MiTM. It has been done in the field. Your concerns are reasonable.

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

Find has exec as well. I tend to use this when searching for things.

comment 9y ago · link · parent

I thought Wonder Woman was alright. Something about it felt a little "off" to me. It is hard to put my finger on it. Maybe they tried to compress too much plot into the time. I don't know. It was definitely more fun to watch than many of the recent superhero goo moves. Perhaps it was th caricature Germans. On the plus side they did WWI which is as overdone in modern cinema.

Netflix's Marvel shows are interesting too, especially Like Cage. But those aren't movies :)

comment 9y ago · link · parent

As a Pixel owner I must say it's camera is very good. I used iPhones for a long time due to security features. Pixel's camera and reasonable hardware security lured me away. Pixel has no pure equivalent to Secure Enclave, but it is good enough. The HDR+ on it is great.

comment 9y ago · link · parent

You know, you are right in a way. It was just a knee jerk reaction, and the author has an extremely important message. How to present factual information so that most people will accept it as fact is an issue that is raging in our lives right now. Facts have died in the minds of many, with FB, the US president, and the media constantly just completely making shit up. That is why I have such a strong reaction to the word expert. And I fall victim to this myself, being, gulp, an "expert" at something that at times really needs people to listen to my advice and findings without spending 3 hours convincing them.

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

Experts, such as the author should be listened to. Because they are experts. And you should listen to them /s

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.

1
666768
81