Programming

TechCrunch Urges Developers: Replace C Code With Rust (techcrunch.com) 505

Software engineer and TechCrunch columnist Jon Evans writes that the C programming language "gives its users far too much artillery with which to shoot their feet off" and is "no longer suitable for the world which C has built." An anonymous reader shared Evans' post: Copious experience has taught us all, the hard way, that it is very difficult, verging on "basically impossible," to write extensive amounts of C code that is not riddled with security holes. As I wrote two years ago, in my first Death To C piece... "Buffer overflows and dangling pointers lead to catastrophic security holes, again and again and again, just like yesteryear, just like all the years of yore. We cannot afford its gargantuan, gaping security blind spots any more. It's long past time to retire and replace it with another language.

"The trouble is, most modern languages don't even try to replace C... They're not good at the thing C does best: getting down to the bare metal and working at mach speed." Today I am seriously suggesting that when engineers refactor existing C code, especially parsers and other input handlers, they replace it -- slowly, bit by bit -- with Rust... we are only going to dig ourselves out of our giant collective security hole iteratively, one shovelful of better code and better tooling at a time."

He also suggests other fixes -- like using a language-theoretic approach which conceptualizes valid inputs as their own formal language, and formal verification of the correctness of algorithms. But he still insists that "C has become a monster" -- and that we must start replacing it with Rust.
Transportation

Is Homeland Security's Face-Scanning At Airports An Unreasonable Search? (technologyreview.com) 146

schwit1 shares an article from MIT's Technology Review: Facial-recognition systems may indeed speed up the boarding process, as the airlines rolling them out promise. But the real reason they are cropping up in U.S. airports is that the government wants to keep better track of who is leaving the country, by scanning travelers' faces and verifying those scans against photos it already has on file... The U.S. Department of Homeland Security has partnered with airlines including JetBlue and Delta to introduce such recognition systems at New York's JFK International Airport, Washington's Dulles International, and airports in Atlanta, Boston, and Houston, among others. It plans to add more this summer...

As facial-recognition technology has improved significantly in recent years, it has attracted the interest of governments and law enforcement agencies. That's led to debates over whether certain uses of the technology violate constitutional protections against unreasonable searches... Harrison Rudolph, a law fellow at Georgetown Law's Center on Privacy and Technology, and others are raising alarms because as part of the process, U.S. Customs and Border Protection is also scanning the faces of U.S. citizens... They say Congress has never expressly authorized the collection of facial scans from U.S. citizens at the border routinely and without suspicion.

"We aren't entirely sure what the government is doing with the images," the article adds, though it notes that the Department of Homeland Security is saying that it deletes all data pertaining to the images after two weeks. But Slashdot reader schwit1 is still worried about the possibility of an irretrievable loss of privacy, writing that "If the DHS database gets hacked, it's hard to get a new face."
Businesses

Are America's Non-Compete Laws Too Strict? (nrtoday.com) 167

Slashdot reader cdreimer shared an article from the New York Times: Idaho achieved a notable distinction last year: It became one of the hardest places in America for someone to quit a job for a better one. The state did this by making it easier for companies to enforce noncompete agreements, which prevent employees from leaving their company for a competitor... The result was a bill that shifted the burden from companies to employees, who must now prove they have "no ability to adversely affect the employer's legitimate business interests." The bar for that is so high that Brian Kane, an assistant chief deputy in the Idaho attorney general's office, wrote that this would be "difficult if not impossible" for an employee to do...

For the most part, states have been moving toward making it easier for people to switch teams... The most extreme end of the spectrum is California, which prohibits noncompete agreements entirely. Economists say this was a crucial factor behind Silicon Valley's rise, because it made it easier for people to start and staff new businesses. But as states like Utah and Massachusetts have tried to move closer to this approach, legislators have run into mature companies trying to hold onto their best employees... A recent survey showed that one in five American workers is bound by a noncompete clause. They cover workers up and down the economic spectrum, from executives to hairdressers.

Two economists tell the newspaper that since 2000, U.S. workers have changed their jobs less and less, which is sometimes blamed on strict employment contracts as well as the occupational licensing laws which affect a third of America's workforce. The Times reports that noncompete clauses ultimately end up keeping workers' salaries lower, "because most people get raises when they switch jobs."
Windows

Ask Slashdot: What Software (Or Hardware) Glitch Makes You Angry? 484

This question was inspired when Slashdot reader TheRealHocusLocus found their laptop "in the throes of a Windows 10 Update," where "progress has rolled past 100% several times and started over." I pushed the re-schedule dialogue to the rear and left it waiting. But my application did not count as activity and I left for a few moments, so Windows decided to answer its own question and restart (breaking a persistent Internet connection)... I've had it. Upon due consideration I now conclude I have been personally f*ck'd with. Driver availability, my apps and WINE permitting, this machine is getting Linux or pre-Windows-8...

That's mine, now let's hear about the things that are pushing you over the edge this very minute. Phones, software, power windows, anything.

There's a longer version of this story in the original submission -- but what's bugging you today? Leave your best answers in the comments. What software (or hardware glitch) makes you angry?
Programming

Open Source Contributions More Important Than Tabs Vs Spaces For Salary (opensource.com) 164

Jason Baker, a Red Hat data analyst, doesn't believe developers who use spaces make more money than those who use tabs. An anonymous reader quotes Baker's blog post: After reading the study one data scientist, Evelina Gabasova, performed some additional analysis and came to a slightly different conclusion, which feels a little more precise: "Environments where people use Git and contribute to open source are more associated both with higher salaries and spaces, rather than with tabs." In other words, if you're at a company where you're using version control and committing open source code upstream, you're statistically a little more likely to be a space-user and a higher wage-earner.
Even across all experience levels, contributing to open source still correlates to higher salaries, Gabasova concludes. "My theory is that when diverse people are working on open source projects together without enforced coding style, the possible formatting mess is nudging people towards using spaces simply because the code is consistent for everyone.

"This is just one of the possible theories, I didn't look to see if possibly language communities that use predominantly spaces (like Python or Ruby) are more active in open source."
Security

EternalBlue Vulnerability Scanner Finds Exposed Hosts Worldwide (helpnetsecurity.com) 38

Orome1 quotes Help Net Security:After the recent massive WannaCry ransomware campaign, Elad Erez, Director of Innovation at Imperva, was shocked at the number of systems that still sported the Microsoft Windows SMB Server vulnerabilities that made the attack possible. So, he decided to do something about it: he created Eternal Blues, an easy-to-use vulnerability scanner that he made available for download for free... The statistics collected by the tool, as well as the total number of downloads, show that after the NotPetya attack, people's awareness of the threat did increase... Over 8 million IP addresses were scanned, and a total of 60,000 vulnerable hosts were identified (out of ~537,000 that were responsive). Of the ~537,000 responsive hosts, some 258,000 still had SMBv1 enabled.
One organization in France found two vulnerable hosts after scanning over 13,000 IP addresses, and Erez believes that without his tool, "finding those two needles in the haystack would have been an almost impossible mission... Here is a lesson for IT/Security departments: don't be so certain that you know your network well. Deploy a multi-layered stack of security tools for both risk analysis and real time enforcement."
Government

NATO Providing Cybersecurity Equipment To Ukraine (securityweek.com) 53

wiredmikey "Ukraine is an area of great geopolitical significance -- a sort of buffer zone between NATO and Russia -- that both sides seek to influence," reports SecurityWeek. "Crimea aside, neither side wishes to be too overt with military intervention, and the result is tailor-made for modern cyber warfare... NATO's official policy towards Ukraine is to bolster its independence." As a result, NATO is providing Ukraine with cybersecurity equipment for some government institutions and authorities, which NATO secretary general Jens Stoltenberg says will enable Ukraine to investigate who is behind certain cyber-attacks, because the response to them is extremely important.
Security

Ashley Madison Parent in $11.2 Million Settlement Over Data Breach (reuters.com) 78

From a report: The owner of the Ashley Madison adultery website said on Friday it will pay $11.2 million to settle U.S. litigation brought on behalf of roughly 37 million users whose personal details were exposed in a July 2015 data breach. Ruby Corp, formerly known as Avid Life Media Inc, denied wrongdoing in agreeing to the preliminary class-action settlement, which requires approval by a federal judge in St. Louis. Ashley Madison marketed itself as a means to help people, primarily men, cheat on their spouses, and was known for its slogan "Life is short. Have an affair."
Government

US Government Crackdown Threatens Kaspersky's American Dream (reuters.com) 139

Eugene Kaspersky, the CEO of the Russian cybersecurity software firm that bears his name, had a big American dream. From a report: He wanted his company to go beyond selling anti-virus software to consumers and small businesses and become a major vendor to the U.S. government -- one of the world's biggest buyers of cybersecurity tools. Kaspersky set up a U.S. subsidiary, KGSS, in Arlington, Virginia that would be focused on winning that business. He sponsored flashy conferences with high-profile speakers --including Michael Flynn, who was briefly President Donald Trump's national security adviser -- sought to join U.S. trade groups and even underwrote programming on National Public Radio. All of this was done to burnish Kaspersky's image and help it become an accepted vendor for the U.S. government despite its Russian roots, according to people familiar with the strategy. But Eugene Kaspersky was never able to overcome lingering suspicions among U.S. intelligence officials that he and his company were, or could become, pawns of Russia's spy agencies. Kaspersky "has never helped, nor will help, any government in the world with its cyberespionage efforts," the company said. Kaspersky's American ambitions were further eroded by the sharp deterioration in U.S.-Russia relations following Russia's invasion of Crimea in 2014, and later when U.S. intelligence agencies concluded that Russia had hacked the 2016 U.S. presidential election.
Google

Google To Replace SMS Codes With Mobile Prompts in 2-Step-Verification Procedure (bleepingcomputer.com) 181

Starting next week Google will overhaul its two-step verification (2SV) procedure and replace one-time codes sent via SMS with prompts shown on the user's smartphone. From a report: This change in the Google 2SV scheme comes after an increase in SS7 telephony protocol attacks that have allowed hackers to take over people's mobile phone numbers to receive one-time codes via SMS and break into user accounts. The rollout process for this feature is scheduled to start next week when Google will invite users to try mobile prompts instead of receiving a one-time code via SMS. Users need an Internet-connected smartphone to use this feature. Every time users will try to log in, Google will show a prompt on their phone asking the account owner to approve the login request. There's no one-time code that users have to fill in, and users can authorize a login request with the tap of a button.
Chrome

Popular Chrome Extension Sold To New Dev Who Immediately Turns It Into Adware (bleepingcomputer.com) 187

An anonymous reader writes: A company is going around buying abandoned Chrome extensions from their original developers and converting these add-ons into adware. The latest case is the Particle for YouTube Chrome extension, a simple tool that allows users to change the UI and behavior of some of YouTube's standard features. Because Google was planning major changes to YouTube's UI, the extension's original author decided to retire it and create a new one. This is when the a mysterious company approached the original author and offered to buy the extension from him for a price of his choosing. The original dev says he gave them a high price, but the company agreed to pay right away, but only after the dev signed an non-disclosure agreement preventing him from talking about the company or the transaction. Soon after the sale, the company issued an update that included code for injecting rogue ads on websites such as Google, Yahoo, Bing, Amazon, eBay, and Booking.com. Users also found other Chrome extensions that were also bought by the same company and had also been turned into adware, such as "Typewriter Sounds" and "Twitch Mini Player." According to some other Chrome extension devs, there are many companies willing to pay large sums of money for taking over legitimate Chrome extensions.
Australia

Australia To Compel Technology Firms To Provide Access To Encrypted Missives (reuters.com) 230

Australia on Friday proposed new laws to compel companies such as U.S. social media giant Facebook and device manufacturer Apple to provide security agencies access to encrypted messages. From a report: The measures will be the first in an expected wave of global legislation as pressure mounts on technology companies to provide such access after several terror suspects used encrypted applications ahead of attacks. Australia, a staunch U.S. ally, is on heightened alert for attacks by home-grown radicals since 2014 and authorities have said they have thwarted several plots, although Prime Minister Malcolm Turnbull said law enforcement needed more help. "We need to ensure the internet is not used as a dark place for bad people to hide their criminal activities from the law," Turnbull told reporters in Sydney. "The reality is, however, that these encrypted messaging applications and voice applications are being used obviously by all of us, but they're also being used by people who seek to do us harm."
Government

Congress Seeks To Outlaw Cyber Intel Sharing With Russia (onthewire.io) 179

Trailrunner7 shares a report from On the Wire: A group of House Democrats has introduced a bill that would formalize a policy of the United States not sharing cyber intelligence with Russia. The proposed law is a direct response to comments President Donald Trump made earlier this week after he met with Russian President Vladimir Putin. After the meeting, Trump said on Twitter that he and Putin had discussed forming an "impenetrable Cyber Security unit" to prevent future attacks, including election hacking. The idea was roundly criticized by security and foreign policy experts and within a few hours Trump walked it back, saying it was just an idea and couldn't actually happen. But some legislators are not taking the idea of information sharing with Russia as a hypothetical. On Wednesday, Rep. Ted Lieu (D-Calif.), Rep. Brendan Boyle (D-Pa.), and Rep. Ruben Gallego (D-Ariz.) introduced the No Cyber Cooperation With Russia Act to ensure that the U.S. doesn't hand over any cybersecurity intelligence on attacks or vulnerabilities to Moscow. Recent attacks such as the NotPetya malware outbreak have been linked to Russia, as have the various attacks surrounding the 2016 presidential election. "When the Russians get their hands on cyber intelligence, they exploit it -- as they did last month with the NotPetya malware attack targeting Ukraine and the West. It is a sad state of affairs when Congress needs to prohibit this type of information sharing with an adversary, but since we apparently do, I am proud to introduce the No Cyber Cooperation with Russia Act with my friends Brendan Boyle and Ruben Gallego. I urge my colleagues across the aisle to join us in sending a clear message that Congress will not stand for this proposal to undermine U.S. national security," Lieu said in a statement.
Cloud

Border Patrol Says It's Barred From Searching Cloud Data On Phones (nbcnews.com) 74

According to a letter obtained by NBC News, U.S. border officers aren't allowed to look at any data stored only in the "cloud" -- including social media data -- when they search U.S. travelers' phones. "The letter (PDF), sent in response to inquiries by Sen. Ron Wyden, (D-Ore.), and verified by Wyden's office, not only states that CBP doesn't search data stored only with remote cloud services, but also -- apparently for the first time -- declares that it doesn't have that authority in the first place." From the report: In April, Wyden and Sen. Rand Paul, R-Ky., introduced legislation to make it illegal for border officers to search or seize cellphones without probable cause. Privacy advocates and former Homeland Security lawyers have said they are alarmed by how many phones are being searched. The CBP letter, which is attributed to Kevin McAleenan, the agency's acting commissioner, is dated June 20, four months after Wyden asked the Department of Homeland Security (PDF), CBP's parent agency, to clarify what he called the "deeply troubling" practice of border agents' pressuring Americans into providing passwords and access to their social media accounts. McAleenan's letter says officers can search a phone without consent and, except in very limited cases, without a warrant or even suspicion -- but only for content that is saved directly to the device, like call histories, text messages, contacts, photos and videos.
Security

Swedish Security Company Boss Declared 'Bankrupt' After Identity Stolen (bloomberg.com) 41

The man running Sweden's biggest security firm was declared bankrupt this week after his identity was hacked. Though the sub-optimal branding implications were hard to miss, Securitas AB was able to put the whole awkward incident behind it by the end of the day. From a report: Alf Goransson, the company's 59-year-old chief executive officer since 2007, won an appeal of the July 10 bankruptcy decision by the Stockholm District Court, according to a statement late Wednesday. The perpetrator used the CEO's identity to seek a loan of an undisclosed amount, after which a bankruptcy application was filed in his name. The identity theft took place in March. Goransson didn't know he'd been hacked until this week, the company said. The hack attack "has no effect on the company, other than that our CEO has been declared bankrupt," spokeswoman Gisela Lindstrand said. "And that will hopefully only last until later today, depending on how soon they can remove the decision."
DRM

EFF Officially Appeals Tim Berners-Lee Decision On DRM In HTML (techdirt.com) 149

Last week, the World Wide Web Consortium (W3C) decided to officially recommend the use of Encrypted Media Extensions (EME) for protecting copyrighted video on the internet. This will enable web surfers to watch media in a browser that requires Digital Rights Management copy protection without the need for browser-based plugins. "It moves the responsibility for interaction from plugins to the browser," the consortium states at the time. "As such, EME offers a better user experience, bringing greater interoperability, privacy, security, and accessibility to viewing encrypted video on the web." TechDirt shares an update: It's been a foregone conclusion that EME was going to get approved, but there was a smaller fight about whether or not W3C would back a covenant not to sue security and privacy researchers who would be investigating (and sometimes breaking) that encryption. Due to massive pushback from the likes of the MPAA and (unfortunately) Netflix, Tim Berners-Lee rejected this covenant proposal. In response, W3C member EFF has now filed a notice of appeal on the decision. The crux of the appeal is the claimed benefits of EME that Berners-Lee put forth won't actually be benefits without the freedom of security researchers to audit the technology -- and that the wider W3C membership should have been able to vote on the issue. This appeals process has never been used before at the W3C, even though it's officially part of its charter -- so no one's entirely sure what happens next.
United Kingdom

Radio Station Hijacked Eight Times In the Past Month To Play 'I'm a Wanker' Song (bleepingcomputer.com) 168

An anonymous reader quotes a report from Bleeping Computer: An unknown hacker has hijacked the radio frequency of a UK radio station to play an obscene song eight times during the past month, according to the radio station's manager who recently revealed the hacks in an interview with BBC Radio 4. The hacks have been reported to Ofcom, the UK's communications regulator, who together with the radio station's staff have tried to track down the culprit at last three times, without success. Ofcom and radio station officials believe the hacker is using a mobile radio transmitter to broadcast a stronger signal on the radio station's normal frequency, overriding its normal program. In eight different occasions, the hacker has taken over broadcasts and has been heard talking, screaming, or singing, and then playing "The Winker's Song" (NSFW) by British comedian Ivor Biggun, a track about self-pleasure released in the 70s. Station manager Tony Delahunty told BBC Radio he received phone calls from distressed listeners complaining that their kids started humming the song. Fellow radio stations also called Delahunty to inquire about the hack, fearing similar hijacks.
Verizon

Millions of Verizon Customer Records Exposed in Security Lapse (zdnet.com) 44

Zack Whittaker, reporting for ZDNet: An Israeli technology company has exposed millions of Verizon customer records, ZDNet has learned. As many as 14 million records of subscribers who called the phone giant's customer services in the past six months were found on an unprotected Amazon S3 storage server controlled by an employee of Nice Systems, a Ra'anana, Israel-based company. The data was downloadable by anyone with the easy-to-guess web address. Nice, which counts 85 of the Fortune 100 as customers, plays in two main enterprise software markets: customer engagement and financial crime and compliance including tools that prevent fraud and money laundering. Nice's 2016 revenue was $1.01 billion, up from $926.9 million in the previous year. The financial services sector is Nice's biggest industry in terms of customers, with telecom companies such as Verizon a key vertical. The company has more than 25,000 customers in about 150 countries.
Security

Symantec Explores Selling Web Certificates Business (reuters.com) 41

Cybersecurity firm Symantec is considering selling its website certification business, in a deal that could fetch more than $1 billion and extricate it from a feud with Alphabet's Google, people familiar with the matter told Reuters. From a report: Google said in March that it was investigating Symantec's failure to properly validate its certificates, which confirm that websites can be trusted. Symantec has called Google's claims "exaggerated and misleading." Symantec is in talks with a small number of companies and private equity firms about the potential sale, three sources said, asking not to be identified because the matter is confidential. There is no certainty that a deal will occur, the sources added.
Security

Kaspersky Lab Says It Has Become Pawn in US-Russia Geopolitical Game (reuters.com) 172

Russian cyber security firm Kaspersky Lab, reacting to a U.S. government move restricting its activities, said on Wednesday it had fallen victim to U.S.-Russia global sparring while the Kremlin criticized the U.S. action as politically-motivated. From a report: The Trump administration on Tuesday removed the Moscow-based firm from two lists of approved vendors used by government agencies to purchase technology equipment, amid concerns its products could be used by the Kremlin to gain entry into U.S. networks. "By all appearances, Kaspersky Lab happened to be dragged into a geopolitical fight where each side is trying to use the company as a pawn in its game," RIA news agency quoted the company's press service as saying.

Slashdot Top Deals