141 karma · joined Dec 11, 2015 (10y ago) · 88 submissions
comment 10y ago · link · parent
A motivated attacker will always tend to try the "low tech" approaches first to rule them out as a first step because it it doesn't require as much sophisticated technical attention and in addition it's a well known fact that human beings are more often than not the weakest link in the chain of security.
It goes something like this:
1. enumerate the employees.. in other words build a list of all their work emails and try to obtain their personal emails and those of their spouses and children.
2. investigate the background of executives so that a compelling phishing email message can be crafted which looks like it originated from high up within the organization.
3. Send targeted phishing emails designed to bait people within the organization to visit webpages that exploit Adobe Flash attack vectors or other browser based vulnerabilities, or perhaps even lure them into installing a trojan directly.
4. after someone in the organization falls victim to the client-side attack, read their emails to learn more about the organization's structure so that your next phising attack can be more refined, specific, and compelling and can possibly utilize a real corporate email address.
5. Rinse and repeat until you eventually gain access to a developer laptop where you can grab production environment SSH keys. Now you own the network without even having to scan a single server and without leaving a trace in the log files.
comment 10y ago · link · parent
In my view there are emerging best practices in this area. There are two ways to reduce this risk and both are controversial:
1. Force developers to only develop software using an SSH terminal (by first connecting to a developer VPN via 2FA and then sshing into their secure development environment where may use tools like tmux, vi, and their programming language of choice to get the job done). In this scheme copying source codes or security credentials to a developer laptop is considered a violation and becomes a fireable offense no questions asked.
2. Require all developers to run a private USB-bootable linux desktop shell which is known to be clean. In this case they remain free to utilize modern desktop editors and code emulators (such as android simulator). It's even possible to setup secure persistence in these environments so that the developer's browser configuration, network/vpn config, dotfiles, apt installs, etc are stored on an encrypted filesystem on USB device. The reason why a USB image is preferred is because it's annoying to ask a new employee to repartiation her personal harddrive.
My suspicion is that as more of the tools developers need to rely on are cloud-based: (example: github, cloud9, jenkins, etc) we will eventually see these modern best practices against client-side attacks being adopted more broadly. The quality and reliability of hot-bootable ultra secure cloud operating systems has gone thru the roof over the past couple of years and I assume this trend will only accellerate due to the fact that Google Chrome OS continues to penerate more of the market and consumers are getting used to it.
TLDR: ssh keys existing on developer harddrives is an info-sec anti-pattern, they should only ever exist in system memory or in an encrypted partition on a USB stick.
comment 10y ago · link · parent
If you do that then you have two things in your favor already..
1. you are cheaper to hire because there are no recruitment feeds associated with you.
2. you showed some initiative to zero them out, and you demonstrated that you have creative writing skills which are an important trait in software development
comment 10y ago · link · parent
comment 10y ago · link · parent
For example: Would it be possible to create a YC branded online University which confers honorary degrees ? Even if the degrees are not fully recognized would it even matter so long as the professors carry enough weight ? I know this might sound crass but basically it might look better on someone's LinkedIn profile than a "recognized" degree, and perhaps over the long term the University's stats would be impressive since you could be selective.
Perhaps it can be scoped to CS post-grad only as a way to make it less controversial. It's not a very pie in the sky vision either.. just onboard some of the world's top college professors, rotate in unique "star power" professors (examples: Paul Graham, Eric Ries, Brad Feld, David Heinemeier Hansson, Bruce Schneier whoever has the time for a professorship), then build out the curriculum, the web IDE / screen-sharing / webcam platform. If it were me I'd have an emphasis on pair-programming throughout the technical bits because it's an exciting way to learn.
You could think of it almost as another accelerator program but without all the messy bits. This would allow YC to have more of the "full stack". Maybe there could be some kind of a VC-backed scholarship program for it.
You might end up biting the hand that feeds you (Standford, etc) but maybe they wouldn't look at it this way, either way that is how it goes with tech innovation.
Think about all those programmers who applied to YC who were executing brilliantly but who YC dismissed simply because the market conditions were not ripe for their particular startup idea. Now you can capture them in a different part of your funnel and maybe by the time they graduate they'll have a more palatable idea. In my view education has always been YC's core competency, the venture stuff feels more like a monetization layer to me, it's kind of a hack isn't it ? j/k
p.s. All jokes aside, I am merely a programmer, so I don't know if there is actually a market for this, but if it existed I'd probably apply
comment 10y ago · link · parent
Why not basic commodities ? I mean distributing significant quantities of corn, corn-meal, flour, rice, a wide variety of beans, dried fruit, beets, onion, millet, granulated garlic, etc. The stuff that you can make a vast array of healthy foods out of.
This eliminates much of the possability of waste in the system, and at the same time it doesn't expose the individual to legal and privacy complications that come with 'income'. It translates into money in people's pockets indirectly because now their family's food budget is dramatically reduced.
I think this is a more elegant solution but the reason why it's difficult politically is because it incentivizes individuals and families to put more time and planning into home food preparation. There are billion dollar advertising campaigns aimed at conditioning the exact opposite behavior which is one reason why it's probably politically untenable at this time.
Also I'd like to raise another point which is that I find it somewhat disturbing that a major startup community leadership organization is so interested in possibly attempting to influence the national policy around financial issues in a way that is so far removed from the technology domain.
Are you guys a startup incubator or a think tank ? In other words are you busy conducting research to churn out position papers designed to influence the national debate on non-tech issues ? If so then how transparent do you plan on being with founders, past, present, and future about this entire process as it evolves going forward ?
The reason why I believe it's a bit of a stretch to consider this a tech issue is because in my view the idea that "technology is eliminating jobs" seems to be a false premise statistically speaking. To me it's a debate centered around how "free trade policy" is influencing the global job market and how that has impacted the United States economy. I believe that in the US at least the tech ecosystem has created more jobs, a whole new economy in fact which didn't exist before. It's the non-tech jobs that are gone, but they weren't eliminated by technological innovation as much as they were dispursed globally in the wake of certain regulations.
comment 10y ago · link · parent
There are projects out there such as Torquebox for JRuby and Immutant for Clojure which attempt to wrap some of this configuration in a DSL which I think is really convenient.
It is true though that if you want to extend Wildfly you need to create a Wildfly module which can mean writing Java code. I look at this as being similar to how if you want to extend NGINX you have to be prepared to write your configuration in LUA or C. Unfortunately the JBoss community isn't as well documented as NGINX is right now, so realistically there is some pain.
Since my application didn't need to have Wildfly manage database thread pools on it's behalf I didn't feel the specific pain point that you mention.
Over the long term, when thinking about scale I enjoy knowing that there are companies like Redhat out there who provide support for this technology, but I don't anticipate ever needing to engage them. With this tech configuration is always the hard part but once it's up and running it's performance characteristics are predictable and the Undertow web server is in the top 5 on the latest benchmarks: https://www.techempower.com/benchmarks/#section=data-r11&hw=...
comment 10y ago · link · parent
both are open source technologies based on Docker that are gathering momentum and you can hire consultants to help you deploy either one.
I personally don't use Docker. The startup I'm building has chosen to standardize on the JVM for all application code so we leverage the JAR file as a kind of container. The Java ecosystem already solved the problem of zero-downtime deployments a long time ago so for us deploying can be as simple as shipping new jars file across the network.
Instead of using Docker to drive development we simply spin up development database/redis/etc instances in the cloud which automatically join a development VPN network. All of the non-VPN interfaces are automatically firewalled off. One nice advantage of this setup is that developers who have slow laptops are still able to work. I'm a big fan of this approach.
Check out Wildfly's "High Availablity" features if you're interested in one way that the Java Ecosystem can make headaches like zero-downtime deployment, HTTP health checks, monitoring, caching, and even load balancing disappear.. It'll deploy non-java code too as long as it's on the JVM. If you're a Scala only shop there are some great Scala-only alternatives available to boot.
comment 10y ago · link · parent
The memory overhead of a MRI ruby process running on linux is much higher than the overhead of a native JRuby thread, they are apples and oranges, surely we agree on that point because you can check it via a simple ps aux command.
Perhaps I am mistaken, but from what I've read to run unicorn following their recommended guidelines you need to spawn at least 1 MRI process for every CPU core, but if your application blocks on IO rather than CPU during it's request cycle which is common then you will need more processes than CPU cores in order to handle concurrent HTTP requests. At that point you're wasting many orders of magnitude more memory than JRuby for every "unit of concurrency" so to speak.
by the way Kotlin looks interesting, thanks for pointing it out I was not familiar
comment 10y ago · link · parent
The overhead for a unix process is significantly more than a lightweight JVM thread. In some cases this memory overhead can prevent you from utilizing the smaller cloud instance types which are sometimes the most cost efficient.
Also with MRI you can't light up all 4 cores, or 8 or 16 without spawning extra processes which burn memory and that can make your server less cost efficient if your app can use the RAM.
comment 10y ago · link · parent
comment 10y ago · link · parent
For those who do use Rails the Torquebox environment is available http://torquebox.org/
TorqueBox 4's web server is powered by Undertow. Check out the performance benchmarks: http://www.techempower.com/benchmarks/#section=data-r9&hw=i7...
undertow edge 183,150 requests per second on the JSON benchmark
comment 10y ago · link · parent
I think it's a smart move on their part actually, but what I assume will eventually happen is other providers will come along and provide a similar free infrastructure but without retaining logs and then everyone will migrate to that. Google will have gotten the ball rolling, and benefited for a number of years from the data, but ultimately people on the web prefer not to be tracked.
comment 10y ago · link · parent
Here brother: http://shtfschool.com/community/selco-one-year-in-hell/
This guy's material is genuine and it goes into great depth, but its only one example. The are other stories of course from this conflict that you can dig up which back up his account.
this video goes into some of his information about gang warfare. It backs up everything I was saying:
comment 10y ago · link · parent
comment 10y ago · link · parent
I definitely don't think that in order to provide security everyone needs an AR-15 or an AK-47 which is how some people over here think. Today in America the AR-pattern rifle (the semi-automatic civilian version of the familiar full-auto-capable M-16 or M-4) is the most popular model of rifle, with millions sold in the past decade. Virtually all of them produced in the past decade have abandoned the old M-16’s signature “carrying handle” rear iron sight for a standardized sight mounting rail, meaning that virtually every AR sold today can be easily equipped with an efficient optical sight. Firing the high-velocity 5.56×45 mm cartridge and mounted with a four-power tactical sight, a typical AR rifle can shoot two-inch groups at one hundred yards when fired from a steady bench rest. That translates to shooting eight- to ten-inch groups at four hundred yards.
Four hundred yards is a long walk. Pace it off on a straight road, and observe how tiny somebody appears at that distance. Yet a typical AR rifle, like those currently owned by millions of American citizens, can hit a man-sized target at that range very easily, given a stable firing platform and a moderate level of shooting ability.
But what a lot of people don't realize is there are a far greater number of scoped bolt-action hunting rifles in private hands in the United States. Keep this number in mind: based on deer stamps sold, approximately twenty million Americans venture into the woods every fall armed with such rifles, fully intending to shoot and kill a two-hundred-pound mammal. Millions of these scoped bolt-action deer rifles are quite capable of hitting a man-sized target at ranges out to and even beyond a thousand yards, or nearly three-fifths of a mile. In that context, the 500-yard effective range of the average semi-auto AR-pattern rifle is not at all remarkable.
I suppose what I'm getting at is that you don't have to break the bank to arm your society in an effective way. Your country will be doing just fine if most people simply have a bolt action scoped hunting rifle but what they really need is firearms training.
comment 10y ago · link · parent
There is a distinction in America between prepping for medium to long term service disruptions, and preparing for a hurricane. The later merely involves nailing boards onto your house's windows then driving north for a few hours whereas the formed is commonly dubbed 'survivalism'. I should have been more clear about what I meant by the terminology.
> In that case, isn't the back-to-the-soil movement of the 1960s more similar to pre-WWII farming culture than the prepper culture, despite the lack of interest in weapons in that movement?
I think the back-to-the-soil movement of the 1960s is very similar to pre-WWII farming culture. I think that even in the 1960s statistically speaking wherever there's been farms and middle class in the United States there's been guns. I think that today tons of people who back in the 1960s would have been characterized as "back-to-the-soil" are being roped into the "prepper" category by a media blitz that wishes to discourage the transmission of those pre-WWII values to a new generation of Americans.
I think that all we're seeing here is a back-to-the-land movement by a generation that is growing up in a time where the spectre of 'terrorism' looms large. Also you can see it in the artwork and music, these younger generations were more likely influenced by Kurt Cobain, Henry Rollins, or Biggie Smalls than Carlos Santana or Jimi Hendrix, so naturally they're going to exhibit a little more 'hard core' tendencies when they do go back to the land.
> I appear to have been wrong, as I had no idea at the time that space aliens had been part of TV culture for decades, and it's been decades more without announcement.
Maybe for your generation it was space aliens and this generation has zombies and vampires, go figure. There do seem to be some ominous continuities between the two pop culture phenomenon, but that could just be my imagination.
> Do you have any idea of how may firearms (per capita) are needed for that? Because Switzerland, Sweden, Norway, and France are still in the top list of countries in per capita gun ownership. How many more will they need?
Thats the problem with trying to talk about Europe as a whole, there are several important exceptions, most notably the Swiss. You forgot the Czech Republic add them to your list.
> Yes, and Switzerland "The vast majority of men between the ages of 20 and 34 are conscripted into the militia and undergo military training, including weapons training", though they don't keep ammunition at home.
The Swiss have their shit together what more can I say.
> So plenty of Europeans have some experience in the military, at least for some countries.
I certainly didn't meant to imply that they didn't, I hope I didn't offend.
> In the Middle East these troops were frequently tasked with restoring order to urban areas exploding in internecine strife
>Now you're going on a tangent that seems little to do with pre-WWII farming culture.
> What sort of military training, and more importantly special forces operation experience, did your grandmother's family have, and how was it useful for their farm life?
my bad! Let me reiterate the point: In my view there is both a back-to-the-land phenomena and a prepper phenomena going on in the modern United States which are distinct although there is some overlap. The back-to-the-land movement is much much larger than the prepper movement statistically, but you don't get that picture from watching the TV.
The media doesn't want to acknowledge the back-to-the-land movement because it's not seen as good for business, so they try to paint everyone with a pickup truck as a prepper. In computer programming there is a movement towards "remote work". In the 1960s the status symbol for having made it in your career was having your own office secretary and a reserved parking spot, but in the modern era perhaps the new way to know you have arrived is when you are free to work from home... or even from the farm.
comment 10y ago · link · parent
comment 10y ago · link · parent
I think in reality what you have in the rural US are communities that are ready to band together in hard times.
Perhaps a more clear way to think about the situation is in terms of distributed computing and graph theory. As many of you know, in theoretical computer science, the CAP theorem states that it is impossible for a distributed computer system to simultaneously provide all three of the following guarantees:
Consistency (all nodes see the same data at the same time)
Availability (a guarantee that every request receives a response about whether it succeeded or failed)
Partition tolerance (the system continues to operate despite arbitrary partitioning due to network failures)
I think that some individuals in the United States (the ones who live in large metros) prefer to optimize for Consistency and Availability by living in populous areas. There are more firefighters, paramedics, and power company linemen ready to step up quickly to restore services in the event of an emergency.
People who live in rural areas in the United States are optimizing for Partition tolerance, but that doesn't mean they expect to one day become completely independent nodes (that's merely a stereotype), instead they anticipate that eventually a few vertexes up the graph there may be some unexpected latency, or even a network partition.
The prepping culture can be thought of a distributed systems protocol which enables "self healing" characteristics so that a temporarily cut off part of the cluster can avoid downtime just by shedding a little consistency. (Guns help them reject corrupted messages from outside of their sub-graph during a partition, it's a form of security isolation)
One could argue that large metros also have this capability just that their RAFT leader election process takes longer (gangs shooting it out) whereas rural communities have an easier time with it because there's less chatter on the network. Prepper communities have more caching, and they store more shards on every node. ;)
In Europe they have more of a monolithic architecture from what I gather although they've enjoyed pretty decent uptime.
comment 10y ago · link · parent
The people operating on these markets certainly don't want the attention, and the people who are fighting the drug war don't want the issue raised because the numbers don't look great. Everyone just seems to want it to disappear off the radar....and so it is...
comment 10y ago · link · parent
The hard part has been.. how do you buy or sell or pay with gold electronically while having a convenient audit trail so that it's not a time consuming process to file your taxes, but that's also solved thanks to a startup founded in part by a senior paypal exec: https://www.bitgold.com/
comment 10y ago · link · parent
I agree that there could be tremendous downsides, but at the same time I wouldn't want to reach for any type of safety gear and not have it.
What if it's not even "real pirates" but rather a haphazard raid by what are obviously hostile teenage boys from a nearby village operating a raft with a single outboard motor armed with only machetes ? These kids couldn't afford a gun and this could happen anywhere where there's poverty not just in areas known for piracy
Another scenario, what about the stranded boat that looks like it's stuck on a sand bar relatively close to port and is begging for a tow. There could be a pretty girl on board. It could be an opportunist type situation where they really did just need a tow, but when they sense you're unarmed they might try to commandeer your craft since maybe they have warrants, or a shaky visa situation inland or whatever.