Thursday, November 23, 2017

Mozilla's Guide to Privacy-Aware Christmas Shopping

Mozilla reviews the privacy practices of Internet-connected toys, home accessories, exercise equipment, and more.



from Mozilla's Guide to Privacy-Aware Christmas Shopping

The clang thread sanitizer

Finding threading bugs is hard. Clang thread sanitizer makes it easier. The thread sanitizer instruments the to-be-tested code and emits useful information about actions that look suspicious (most importantly data races). This is a great aid in development and for QA. Thread sanitizer is faster than valgrind's helgind, which makes it applicable to more use cases. Note however that helgrind and thread sanitizer sometimes each detect issues that the other one does not.
This is how thread sanitizer can be activated:
  • install clang package (the OS package is usually good enough, but if you want to use clang 5.0, you can obtain packages from http://apt.llvm.org/)
  • export CC=clang // or CC=clang-5.0 for the LLVM packages
  • export CFLAGS="-g -fsanitize=thread -fno-omit-frame-pointer"
  • re-run configure (very important, else CFLAGS is not picked up!)
  • make clean (important, else make does not detect that it needs to build some files due to change of CFLAGS)
  • make
  • install as usual
If you came to this page trying to debug a rsyslog problem, we strongly suggest to run your instrumented version interactively. To do so:
  • stop the rsyslog system service
  • sudo -i (you usually need root privileges for a typical rsyslogd configuration)
  • execute /path/to/rsyslogd -n ...other options...
    here "/path/to" may not be required and often is just "/sbin" (so "/sbin/rsyslogd")
    "other options" is whatever is specified in your OS startup scripts, most often nothing
  • let rsyslog run; thread sanitizer will spit out messages to stdout/stderr (or nothing if all is well)
  • press ctl-c to terminate rsyslog run
Note that the thread sanitizer will display some false positives at the start (related to pthread_cancel, maybe localtime_r). The stack trace shall contain exact location info. If it does not, the ASAN_SYMBOLIZER is not correctly set, but usually it "just works".
Doc on thread sanitizer ist available here: https://clang.llvm.org/docs/ThreadSanitizer.html

The post The clang thread sanitizer appeared first on Security Boulevard.



from The clang thread sanitizer

Thanksgiving 2017

1479755379503.jpg

The post Thanksgiving 2017 appeared first on Security Boulevard.



from Thanksgiving 2017

One in 25 Searchable ‘Black Friday’ Apps Blacklisted as Malicious, Finds Report

Black Friday is a big day for shoppers. In 2016, 154 million consumers shopped over Thanksgiving weekend and spent $9.36 billion, constituting a year-over-year increase of 16.4 percent. More than half of that money spent ($5.27 billion) occurred online. Building on those figures, Black Friday 2017 looks like it will be even bigger than in […]… Read More

The post One in 25 Searchable ‘Black Friday’ Apps Blacklisted as Malicious, Finds Report appeared first on The State of Security.

The post One in 25 Searchable ‘Black Friday’ Apps Blacklisted as Malicious, Finds Report appeared first on Security Boulevard.



from One in 25 Searchable ‘Black Friday’ Apps Blacklisted as Malicious, Finds Report

SSD Advisory – Linux Kernel XFRM Privilege Escalation

Vulnerability Summary The following advisory describes a Use-after-free vulnerability found in Linux kernel that can lead to privilege escalation. The vulnerability found in Netlink socket subsystem – XFRM. Netlink is used to transfer information between the kernel and user-space processes. It consists of a standard sockets-based interface for user space processes and an internal kernel … Continue reading SSD Advisory – Linux Kernel XFRM Privilege Escalation

The post SSD Advisory – Linux Kernel XFRM Privilege Escalation appeared first on Security Boulevard.



from SSD Advisory – Linux Kernel XFRM Privilege Escalation

Don Jr.: I’ll bite

So Don Jr. tweets the following, which is an excellent troll. So I thought I'd bite. The reason is I just got through debunk Democrat claims about NetNeutrality, so it seems like a good time to balance things out and debunk Trump nonsense.

The issue here is not which side is right. The issue here is whether you stand for truth, or whether you'll seize any factoid that appears to support your side, regardless of the truthfulness of it. The ACLU obviously chose falsehoods, as I documented. In the following tweet, Don Jr. does the same.

It's a preview of the hyperpartisan debates are you are likely to have across the dinner table tomorrow, which each side trying to outdo the other in the false-hoods they'll claim.

Need something to discuss over #Thanksgiving dinner? Try this

Stock markets at all time highs
Lowest jobless claims since 73
6 TRILLION added to economy since Election
1.5M fewer people on food stamps
Consumer confidence through roof
Lowest Unemployment rate in 17 years #maga

— Donald Trump Jr. (@DonaldJTrumpJr) November 23, 2017

What we see in this number is a steady trend of these statistics since the Great Recession, with no evidence in the graphs showing how Trump has influenced these numbers, one way or the other.

Stock markets at all time highs

This is true, but it's obviously not due to Trump. The stock markers have been steadily rising since the Great Recession. Trump has done nothing substantive to change the market trajectory. Also, he hasn't inspired the market to change it's direction.
To be fair to Don Jr., we've all been crediting (or blaming) presidents for changes in the stock market despite the fact they have almost no influence over it. Presidents don't run the economy, it's an inappropriate conceit. The most influence they've had is in harming it.

Lowest jobless claims since 73

Again, let's graph this:

As we can see, jobless claims have been on a smooth downward trajectory since the Great Recession. It's difficult to see here how President Trump has influenced these numbers.

6 Trillion added to the economy

What he's referring to is that assets have risen in value, like the stock market, homes, gold, and even Bitcoin.
But this is a well known fallacy known as Mercantilism, believing the "economy" is measured by the value of its assets. This was debunked by Adam Smith in his book "The Wealth of Nations", where he showed instead the the "economy" is measured by how much it produces (GDP - Gross Domestic Product) and not assets.
GDP has grown at 3.0%, which is pretty good compared to the long term trend, and is better than Europe or Japan (though not as good as China). But Trump doesn't deserve any credit for this -- today's rise in GDP is the result of stuff that happened years ago.
Assets have risen by $6 trillion, but that's not a good thing. After all, when you sell your home for more money, the buyer has to pay more. So one person is better off and one is worse off, so the net effect is zero.
Actually, such asset price increase is a worrisome indicator -- we are entering into bubble territory. It's the result of a loose monetary policy, low interest rates and "quantitative easing" that was designed under the Obama administration to stimulate the economy. That's why all assets are rising in value. Normally, a rise in one asset means a fall in another, like selling gold to pay for houses. But because of loose monetary policy, all assets are increasing in price. The amazing rise in Bitcoin over the last year is as much a result of this bubble growing in all assets as it is to an exuberant belief in Bitcoin.
When this bubble collapses, which may happen during Trump's term, it'll really be the Obama administration who is to blame. I mean, if Trump is willing to take credit for the asset price bubble now, I'm willing to give it to him, as long as he accepts the blame when it crashes.

1.5 million fewer people on food stamps

As you'd expect, I'm going to debunk this with a graph: the numbers have been falling since the great recession. Indeed, in the previous period under Obama, 1.9 fewer people got off food stamps, so Trump's performance is slight ahead rather than behind Obama. Of course, neither president is really responsible.

Consumer confidence through the roof

Again we are going to graph this number:

Again we find nothing in the graph that suggests President Trump is responsible for any change -- it's been improving steadily since the Great Recession.

One thing to note is that, technically, it's not "through the roof" -- it still quite a bit below the roof set during the dot-com era.

Lowest Unemployment rate in 17 years

Again, let's simply graph it over time and look for Trump's contribution. as we can see, there doesn't appear to be anything special Trump has done -- unemployment has steadily been improving since the Great Recession.
But here's the thing, the "unemployment rate" only measures those looking for work, not those who have given up. The number that concerns people more is the "labor force participation rate". The Great Recession kicked a lot of workers out of the economy.
Mostly this is because Baby Boomer are now retiring an leaving the workforce, and some have chosen to retire early rather than look for another job. But there are still some other problems in our economy that cause this. President Trump has nothing particular in order to solve these problems.

Conclusion

As we see, Don Jr's tweet is a troll. When we look at the graphs of these indicators going back to the Great Recession, we don't see how President Trump has influenced anything. The improvements this year are in line with the improvements last year, which are in turn inline with the improvements in the previous year.
To be fair, all parties credit their President with improvements during their term. President Obama's supporters did the same thing. But at least right now, with these numbers, we can see that there's no merit to anything in Don Jr's tweet.
The hyperpartisan rancor in this country is because neither side cares about the facts. We should care. We should care that these numbers suck, even if we are Republicans. Conversely, we should care that those NetNeutrality claims by Democrats suck, even if we are Democrats.

The post Don Jr.: I’ll bite appeared first on Security Boulevard.



from Don Jr.: I’ll bite

Cybercrime Laws: What Internet Fraud Victims Need to Know

As the Internet continues to be an important part of our lives, it also becomes a more dangerous avenue for cybercrime. The risk increases as the massive online community’s use of the Internet becomes more rampant. And despite the public being aware of cybersecurity issues, anonymous online criminals are able find more victims and creative […]… Read More

The post Cybercrime Laws: What Internet Fraud Victims Need to Know appeared first on The State of Security.

The post Cybercrime Laws: What Internet Fraud Victims Need to Know appeared first on Security Boulevard.



from Cybercrime Laws: What Internet Fraud Victims Need to Know