Intel Cache Poisoning Is Dangerously Easy On Linux
Julie188 writes "A researcher recently released proof-of-concept code for an exploit that allows a hacker to overrun an Intel CPU cache and plant a rootkit. A second, independent researcher has examined the exploit and noted that it is so simple and so stealthy that it is likely out in the wild now, unbeknownst to its victims. The attack works best on a Linux system with an Intel DQ35 motherboard with 2GB of memory. It turns out that Linux allows the root user to access MTR registers incredibly easily. With Windows this exploit can be used, but requires much more work and skill and so while the Linux exploit code is readily available now, no Windows exploit code has, so far, been released or seen. This attack is hardware specific, but unfortunately, it is specific to Intel's popular DQ35 motherboards."
They make it sound like a bad thing that it's easier to use your hardware on Linux =)
3 2 1
Since you need root on the box first, how is this anything new?
If you have root you can plant a root kit in any number of ways, heck just replace the kernel if you want.
I would recommend that you don't give out root access to script kiddies on systems where you don't want them to install root kits.
Finally! A year of moderation! Ready for 2019?
oh noesss my linux!
If you got root, aren't there easier way to install a rootkit? Just load a rootkit module into the kernel.
Je ne parle pas francais.
I'm sorry, but this simply ISN'T possible, Linux is flawless God spunk. You people are on drugs.
Right, so the 2nd article states "I should note that this particular exploit requires that the attacker already have admin or root privileges on the box" -- and "The exploit code was only written for Intelâ(TM)s DQ35 motherboards. The DQ35 is one of their modern boards. According to Joannaâ(TM)s paper, Intel reported that their newest motherboards (DQ45â(TM)s for example) are not vulnerable to this attack.". In short, it's an interesting proof of concept, but at first glance it's not exactly the scare of the century....
One popular chipset is still far better than all chipsets. Besides, as several other have mentioned, needing to be root to plant a rootkit is a pretty circular security risk.
It's probably a good thing Intel got bit by this publicly. Maybe they'll be more careful in the future.
I can do something on my computer with root.
Shit.
It's not a scare at all. It's only "more difficult" on Windows because Windows "admin" privileges are worthless...System permissions are higher.
This is one of the reasons why Windows viruses have historically been more annoying: they actually run at a level that's higher than the highest user level.
Saying "admin or root" permissions completely misses the point. Root is it. That's the highest level. Kill any process, control any device, install any code, read any file, everything. As many people have pointed out, once you have root you're done. There is no higher exploit than that.
ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
"On Linux, if you have root access, you can override the MTR buffers and install a root kit."
If you already have root access, WTF is the point, just install the root kit. The idea of exploits is to *GET* root access to be able to install these root kits.
Now while this might be moderately interesting if you can somehow manage to get a service running as root to run said code, but then, if you can get the service running as root to execute arbitrary code like this, then why not get it to install the root kit for you.
Stupidest exploit scare ever.
2009 will be the Year of the Windows Desktop!
You fail.
hypervisor is higher. And code injected in there, or trojan made as hypervisor and you're screwed.
Another reason not to buy Intel Mobos. Asus and Gigabyte for me, thank you very much!
The original exploit release ALREADY acknowledges that in Linux, the root user can reconfigure MTRRs from userspace while Windows/OS X can't. The original authors also acknowledge that successful exploitation is highly platform and hardware dependent. However, under those OS'es the equivalent superuser (Administrator, root) can load a kernel module that does the exact same thing. So, I ask, what exactly is the news here? These guys managed to demonstrate an actual exploit on a particular motherboard? Ooh. Aah.
On Linux systems it is trivial for the root user to modify system MTRRs7 via the /proc/mtrr pseudo-file. Assuming your system is an Intel DQ35 board with 2GB of RAM, it is likely that the
"caching map" of your memory looks like this, e.g:
/proc/mtrr
/proc/mtrr pseudo-file. This is however only a minor technicality, as one can very well modify the MTRRs mapping using the standard WRMSR instructions.
// generate SMI
[..]
We see here the first entry (reg00) is marking the whole memory as Write-Back cacheable8. Next we see a bunch of "exceptions" -- regions of memory each marked as uncacheable. One of those regions, (reg03) corresponds to the memory where the SMM's TSEG9 segment is located. We can now simply remove this MTRR entry for TSEG, with the following shell command:
echo "disable=3" >|
[..]
Of course on different systems than Linux, e.g. Windows, one doesn't have such a convenient access to
Once the TSEG's memory is marked as WB cacheable, one can do something as simple as:
*(ptr) = evil_data;
outb 0x00, 0xb2
davecb5620@gmail.com
This exploit allows a root user, or a kernel, to put code into System Management Memory that is normally only accessible in System Management Mode (SMM). System Management Mode is used by the BIOS writers to keep control of a system even after control has been handed off to an OS. SMM's theoretical use is for hardware monitoring and maintenance. Its practical use is for DRM.
So this sounds like a feature, and not a bug. The Linux kernel should do everything in it's power to disable SMM anyway.
Please pardon my ignorance, but isn't this as much linux compiler fault and it is Intel fault? Can you as a programer, decide what goes into the cache and what not?
So, after getting the root access on Linux, you use this goofy script to install some software.
Why bother with this crap, when having root access allows you to install the same software without needing the goofy scripts? What additional access does this give you that you don't have by being root?
Why are kits like this that require root access considered as deadly as Windows viruses that can be easily installed on any Windows system without any user action or password needed?
Who would win this election: Andrew Weiner vs Andrew Weiner's weiner.
Oh... oh YEAH? Well, I'm gonna invent a new computer system after this generation! And that one will have hypersupermegaultravisor access you'd need to get! Stupid hypervisor wuss!
Thi story is probably a dupe. The original not only has the same blog post, but also has links to far more relevant information. Please tag it.
Could it be that Windows is actually safer?
"The significance of SMM buried rootkits is that you can remove and shred the hard drive of your compromised machine, replace it with a new one, do a fresh install, and still be compromised"
How big of a rootkit can fit in SMM memory and how does this survive a power off?
davecb5620@gmail.com
Serious fear mongering.
Vulnerabilities affect secure computers. This is not a vulnerability. At most, its a shady way to build (and perhaps sell) a compromised computer.
This applies to all operating systems. Don't trust factory installs. Always build your environments from scratch -- the extra work will help you understand them. Without trust at the beginning you don't have it, ever.
the fault is not on linux or any particular os, it's on intel's harware.
As many have pointed out, there's no real point to "exploiting" a machine that you already have full (root) access to - with one exception: virtual servers.
The whole 'danger' of this exploit is that it enables a virtual server's "privileged" "root" user to gain hypervisor access, which is equivalent to taking over the entire physical machine and any/all other virtual servers hosted on said machine.
If you don't run a virtual server farm, this exploit means absolutely nothing to you. If you do, it's a very easy, scary way whereby any of your "clients" can take over your physical machines and access all of the other virtual servers hosted on the same piece of hardware.
Copied from TFA:
Here's how the attack works in layman's terms, and Notice the simplicity of this exploit:
1) Attacker modifies system MTR registers to change the SMM memory space from uncacheable to cacheable with type Write-back. (...) It uses a set of programmable model-specific registers (MSRs). Any type Write-back writes to the CPU's cache are marked dirty. This will force their contents to be written to memory later.
2) The attacker now can write code into the memory space that is normally reserved only for SMM functions. The attackers accesses to this memory space are now written to the CPU cache because of the changes made in step one. Normally SMM space is marked uncacheable and the chipset will discard any attempts at access except from system BIOS.
3) Now the attacker code is in the CPU cache memory normally reserved only for SMM. To execute the code the attacker issues an SMI. This triggers a CPU preempt that transfers execution control over to SMM code. The CPU will execute the SMM code but it will fetch it from the cache before DRAM. The attackers data is in cache (step 2) so it is executed. The code now runs with full SMM privileges. Remember that SMM is the most privileged on the box, more so than the operating system or any hypervisors.
don't cut it off www.mgmbill.org
Yet again, OpenBSD shows foresight by having this bugginess fixed in 2003 long before the actual chips were available on which this can happen. Well done, lads.
So, basically the entire paper boils down to "OMG! Hardware works as advertised, and Linux lets root actually use said hardware." Color me unimpressed (and unconcerned).
..run on...
Oh, nevermind.
C= FTW
SMM doesn't persist across reboots unless you can flash the boot roms/BIOS
"With Windows this exploit can be used, but requires much more work and skill"
Someone please explain to me exactly how it's harder to get to the MTR registers under Windows than it is under Linux.
Let's assume in both cases you're root. You have to be or they're inaccessible. What happens next? Why is Windows more difficult?
I'm expecting it isn't, and it's about a couple dozen lines of assembler either way.
Weaselmancer
rediculous.
If the attackers have root access to your linux box, they could use this vulnerability to get root access.
Now we must get a time machine and a paradox solving engine, and the vulnerability will turn to be pretty scary.
...it is a danger, that someone on an Intel system, who has root access to a box, can plant a rootkit??
Unpossible! The sky falls down, and earth explodes! I can't believe it!
Any sufficiently advanced intelligence is indistinguishable from stupidity.
Just how many systems with micro ATX boards do you think are going to be running things like Xen, VirtualBox, or VMware and be connected to the internet running possibly vulnerable daemons? Not too many as most of those small boards just don't have the expandability that an ATX or E-ATX board would have.
I surely wouldn't use that hardware platform on which to build a virtual host. No room for RAID cards, not enough memory slots, maximum allowable ram too low, etc.... Those are workstation boards, at best, and almost all of those machines that will run any vm's will be doing it in a lab environment, not as internet facing vm's.
Why the hell would anyone go through the trouble of pulling a motherboard-specific cache exploit, if the program is already running with root privs ?
How about "cp hax0red-vmlinz /boot" and have a nice day...
-Billco, Fnarg.com
The only good rapper is a dead rapper.
I prefer to think of Tiger Woods as a great Thai golfer.
If somebody has physical access to a Windows box, then they can reboot it off a Knoppix Live CD, and they have the same exact problem. If somebody has the Admin password, they can do anything they want too. This only really effects cases where hostile users are running in another Virtual Machine on the box. If you need security, don't share your hardware with other people!
I've abandoned my search for truth; now I'm just looking for some useful delusions.
All the hardware I currently use is considered "obsolete" by hardware vendors, software vendors, OS groups, and any kind of support personell you can imagine. However, by being that dated it is also considered to not be worthwhile for virus writers or others who work on compromising peoples' systems en masse.
Long live my P4, bitches. It might not be perfect, it might not be able to play Quake 7 or any other bleeding edge games, but with each passing month we see more security threats that fall under the category of "unapplicable" to my system.
Don't even ask me what video card I use, what kind of hard drive I have, what kind of optical drive I use, or what operating systems I boot. I'll likely get carted away to a nice padded room if I try to tell people that those are still useful.
Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
There are interfaces to access that stuff in Linux, while in Windows you actually need to write your own custom software in assembly. That is the only difference.
In Linux, the /proc pseudo-filesystem exposes the kernel internals. Anyone can read /proc/mtrr, and root can write it. It's one line of bash, and zero lines of assembler.
No idea how to do it on Windows.
2*3*3*3*3*11*251
Anyone who uses the phrase "you fail" in regular conversation should have their balls cut off so that there won't be a risk of more fucking idiots being born by them. People on the Internet are getting so fucking stupid they're speaking in 4chan memes now. You think anyone actually takes you seriously taking like a fucking 12 year old /b/tard?
Ah, I gotcha. Use /proc on Linux, but you'll need to read/write to some address with assembly on Windows. Got it.
But a thought occurs to me though...
Everybody thinks you can get to it through /proc? Good.
Just go into whatever driver code that handles the MTRR /proc filesystem and have it spoof writes. The invading rootkit will think "all is swell", and it won't be.
Of course any utilities that expect a working proc for MTRR will bomb, but other than that a patch for this should be trivial.
#ifdef HARDWARE_DQ35 ...
Weaselmancer
rediculous.
Like so many others, this is an Intel problem.
I just finished reading up on what SMM is and that it can potentially be used to trash a BIOS, or worse, rewrite a BIOS so that it includes something along the lines of a hypervisor that can then run all kinds of things while at the same time allowing the regular OS to run.
The comment about Linux making it easier than Windows to exploit this? Kudos for Linux!! Okay, root is required to get to run the exploit code, but after that it is "easy." That's exactly what it should be. We don't need the OS getting in our way when we want to do things with our machines. If Windows makes it harder, that's just sad... but probably necessary. There are few things in Linux that run as root unnecessarily, so running anything as root is usually no accident and isn't usually the result of a process running as root being exploited. (This is typically not the case with Windows... too often processes must run as Administrator and those processes are routinely attacked and exploited.) The threat is fairly minimal... unless someone intentionally weakened their systems for convenience. Sad for those people.
But this is ultimately limited by the hardware all of this is running on. Older hardware is not affected. Newer hardware will not likely be affected either... and you can probably expect some sort of fix from Intel as well.
It is an important story and it keeps people thinking in the right ways. The idea that this is a Linux vulnerability is a pathetic assertion. I am all for disclosing and eliminating problems with Linux. The quicker we know about it, the quicker it is fixed. But this is a rather limited scope and when all factors are combined, it makes this a very VERY limited problem.
I was thinking the same thing but then I checked it out. It actually wouldn't be a bad board to use for those purposes. It supports the latest processors, 8 GB RAM, and has 6 SATA connectors. It even has old-school RS-232 serial ports and twelve USB ports(!). It seems this isn't your typical micro-ATX board. Looks like it would be good because it's fairly full-featured while still being really small so you could stuff a whole bunch of them in a little space.
I had never heard of it though. Is this a new board from Intel? Newegg doesn't even carry it.
./
"This attack is hardware specific, but unfortunately, it is specific to Intel's popular DQ35 motherboards."
that seems unfortunate only to those who have a DQ35 motherboard. for everyone else, it's fortunate that it's specific to just those boards.
Perhaps "layman's terms" doesn't mean what you think it means... I think anything with over 2 acronyms can no longer be considered a layman's description.
Anyone running (and *using*) SELinux might disagree with ya there :)
Hire a Linux system administrator, systems engineer,
With Windows it can still be done but requires much more work and skill. No Windows exploit code was released.
From the paper:
Of course on different systems than Linux, e.g. Windows, one doesn't have such a convenient access to /proc/mtrr pseudo-file. This is however only a minor technicality, as one can very well modify the MTRRs mapping using the standard WRMSR instructions.
This is an Intel problem. The only reason the exploit is easier on Linux is because of a FEATURE Linux offers (which, btw, you can disable when compiling the kernel).
A user can easily run arbitrary kernel code in 32-bit Vista or Windows (ie. like the root access required in Linux). In Windows >= Vista 64-bit, kernel code must be signed before it is run. So, you must rely on vulnerabilities in that system to run your code.
^ meant to say the user must be an Administrator (hence why I said ie. like the root access required in Linux), must've deleted it when posting.
The SMM exploit requires that the attacker already have root. You're already screwed at this point.
Evil Linux exploit seizes control of Linux boxen and installs Windows VISTA!
Nobody runs root on linux. All you need is people signed applications from the distrobution repos, people check what they run as root. Also:if you run malicious code as root your already fucked.
This is just some FUD on microsofts part: it would be much easier on windows cause so many people run root on windows.
Also: who cares? on any computer once you are root your screwed, and the computer is toast. And it is just one motherboard.
I wonder if this hole has implications for Amazon's EC2 servers. Being able to "go over the wall" on a virtual server could make a big mess for them and their clients if their servers prove to be vulnerable.
Who ever claimed that VM gives or is supposed to give additional security? As far as I know and understand, the purpose of VM is to provide easier management of disparate systems and better overall utilization of expensive hardware.
Over-the-top Response Guy! Giving "Over-the-Top Responses" since 1970.
Hyper-visor is not for security.
Over-the-top Response Guy! Giving "Over-the-Top Responses" since 1970.
It is ONLY on a DQ35 motherboard, which is an INTEL DESKTOP SYSTEM. How many of those do you think will be hosting VMs? Not many.
I prefer the "u" in honour as it seems to be missing these days.
sc create rootsvc binpath= "cmd /k start" type= own type= interact && sc start rootsvc && sc delete rootsvc
Disable CAP_SYS_MODULE and CAP_SYS_RAWIO while the system is in operation, and then you cannot directly access your hardware. rawio to /dev/mem is required for that exploit to work, hence the exploit will be inoperative.
# sysctl kernel.cap-bound
kernel.cap-bound = -257
# sysctl -w kernel.cap-bound=-131329
kernel.cap-bound = -131329
# sysctl -w kernel.cap-bound=-196865
kernel.cap-bound = -19865
Then just drop that last line in /etc/rc.d/rc.local
If you feel really paranoid, also turn off CAP_LINUX_IMMUTABLE, i.e. set sys cap-bound to -20377
After making all your system startup scripts, important programs and config files like your kernel, bootloader, boot config, etc, all +i.
Thus preventing any changes to the boot system or any tampering, except from single user mode, or with some sort of kernel bug.
I just wish the Linux kernel would provide you a sturdy way of 'turning those features back on, for patching... i.e. a sysctl for storing a SHA1 hash of a secret 'unlock' password for re-setting cap-bound
And the the assembly code needs to be written only once for a million and one script kiddies to use it. It isn't harder, or at any rate, it soon won't be. Everyone seems to forget that software has the important property of being able to encapsulate skill. If you already have root on any system, all bets are off.
Qu'on me donne six lignes écrites de la main du plus honnête homme, j'y trouverai de quoi le faire pendre.
Typical response from a user in denial.... LOL
I can't help laughing at you guys when you refer to a bug/possible security hole as a FEATURE...
U SUX!
You fail at the intarweb.
Oh no!
Getting root is breaking into someone's car through a dodgy lock. Rootkit is getting a locksmith to make you a master key for the car. Even if the owner comes in and fixes the dodgy lock, you can come back any time you want and silently break in. That is, until the owner gets a new car (reinstall/new drive) or gets a new lock (patch the rootkit).
There are at this time about a bazillion comments here pointing out that a privilege escalation that requires root access is not a privilege escalation.
I don't know what the authors of those comments were doing for the past 5 years, because they should really consider whether they are qualified to talk on the subject. AMD and Intel have been incorporating virtualization and paravirtualization support into their CPUs for a long time, and there is a massive market for these solutions. For an equal amount of time security researchers have been messing around finding exploits like this one in the hardware. Privilege escalation from domain to hypervisor/cross-domain level is a breach of the virtualization security model, and you can bet your ass it's a serious security issue. And if your favorite virtualization solution doesn't consider this a root exploit, then that solution is broken. Because there's no way anyone in their right mind running something like 50 domains on some 24-core beast - made specifically to virtualize the crap out of everything - will consider those domains being able to get root in all other domains to be anything short of a huge problem.
tl;dr: root is not root if you are in a guest domain. (cue inane Matrix reference to taste)
[an error occurred while processing this directive]
I can't help laughing when you post AC. Allowing write access to MTRRs is not a bug. Intel caching failed writes is. Cheers.
I'm the AC you replied to....
Yeah, NewEgg has one or two of these boards.
I can't imagine running motherboard software raid on an internet facing VM host that's a production server. I run software raid quite a bit in lab systems because it's so much cheaper, but I won't on a production system.
The second limitation with most motherboard RAID systems a board with 6 sata connectors will have 4 configurable sata connections available as a RAID array and the other 2 connectors in a separate configuration. To tell the truth, I've yet to see a motherboard with all 6 sata connectors available in a single RAID array.
Third, 8 gigs of ram isn't a whole lot if you're wanting to run 6 or more vm's, with a couple of them being database servers. You get pretty limited with ram configuration in a hurry.
If you're running Xen you have to have enough ram available to the host to equal the amount of ram available to any one vm to be able to be able to backup/restore/move vm's with Xen tools without having to shut them down. If you have a vm running a decent size database it will require 3 or 4 gigs of ram, meaning your host will also be required to have 3 or 4 gigs of ram available to it too or you will have to shut down your database server vm to be able to do a checkpoint backup or restore. There goes most, or all, of the 8 gigs of ram in just the host and one vm.
"Here's how the attack works in layman's terms, and Notice the simplicity of this exploit:
1) Attacker modifies system MTR registers to change the SMM memory space from uncacheable to cacheable with type Write-back. "
Well, I understand that perfectly, and when it comes to hacking I'm a layman, so it must be layman's terms, right? :)
Thanks to work by Joanna Rutkowska et al
http://it.slashdot.org/article.pl?sid=09/03/19/179228
it is now possible to take a glimpse at some secrets Intel is hiding from us in SMM code.
Many people had troubles using iTCO_wdt driver (and its ichwd counterpart in FreeBSD) with recent Intel motherboards based on ICH9 family chipsets.
E.g.: http://lkml.org/lkml/2008/2/1/595
A strategy to make the driver work was to disable generation of SMI upon watchdog timeout, but this is not always possible because now the bit that
controls watchdog/TCO SMI can be locked by BIOS.
So I got curios what it is that SMI handler does that prevents the normal operation of watchdog and thanks to the quoted above research I was able to obtain
and disassemble the key code that is involved in handling watchdog timeout.
And here it is:
hanlde_tco_timeout_smi proc near
x = dword ptr -18h
unused_arg_1 = qword ptr 8
unused_arg_2 = qword ptr 10h
mov [rsp+unused_arg_2], rdx
mov [rsp+unused_arg_1], rcx
sub rsp, 38h
movzx eax, cs:PM_BASE
add eax, 34h
mov dx, 2000h ; val
movzx ecx, ax ; port
call outw_subr ; ack TCO_STS in SMI_STS reg
movzx eax, cs:PM_BASE
add eax, 68h
movzx ecx, ax ; port
call inw_subr ; read TCO1_CNT
movzx eax, ax
and eax, 800h ; check TCO_TMR_HLT
test eax, eax
jnz short enter_infinity ; a BUG? should be jz?
movzx eax, cs:PM_BASE
add eax, 64h
mov dx, 8 ; val
movzx ecx, ax ; port
call outw_subr ; ack TIMEOUT bit in TCO1_STS
And anyone running a Linux VM on a hypervisor based system is stupid anyway. The Linux kernel is perfectly capable of running VMs (of various flavours) without needing a hypvisor.
Oh my God!!! So do you mean that if someone has root access, my system is in danger?!?!?! What am I going to do!?!?!?
"The attack works best on a Linux system with an Intel DQ35 motherboard with 2GB of memory"
So, IF I'm using a specific motherboard and IF I have 2GB of memory and IF I've been dumb enough to give someone root access, I have to buy another 1GB of ram?
Sweet, I've been looking for a good excuse to spend money.
It is analogous to saying "If someone has access to your Bank safety vault, he can burn your money" These guys are deluded !
.. yes!
--- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
You've got to be joking right?
After all the righteous crap that Linux users have plastered over Windows about security vulnerabilities, you have the audacity to state 'The only reason the exploit is easier on Linux is because of a FEATURE Linux offers'
Holy moley -- automatically executing attachments in Outlook was considered a feature, doesn't make it right.
Damn Linux zealots.
Debian Lenny on a i486/266MHz (no cache == no poisoning!) for the worst case. since you can't really have X on such a machine, i'd guess this solves also a lot of other common security problems. surfing with w3m and wget still faster than with firefox on my thuron boxes. what the heck...
Actually, I have had "permission denied" while running a command as root ( listing a directory ) so even root is not 'all powerful'.
The disappearing pencil trick. Let me show you it.
What you say is perfectly correct for machines which need the utmost of security. It seems to be a bit of overkill in my eyes because
I suffice by never using the initial account, which has sudo powers, for anything but command line operations essential for the administration of the installation, and only from a (text-only) virtual console.
For all other uses I set up a second account which is as unprivileged as conveniently possible (and for sure it has no access to root via sudo).
So could one theoretically use wrmsr.exe to pull this off on Windows?
It's kind of like how the delete button could be used by an attacker to delete important files. It's just a tool that's available that could be used for good or evil.
Automatically executing files that happen to land on your machine is just plain stupid and completely different.
The big threat regarding cache poisoning is not just having root users subvert their own systems - It allows breaking free of the hypervisor and attacking other virtual hosts running on the same hardware.
You fail.
Administrator and System can both run code in kernel mode by loading a device driver. The hypervisor is not a permission level like what GP was talking about.
No, the difference is the bug is not in Linux's /proc/mtrr proc entry, it is with Intel caching failed writes. Saying the /proc/mtrr entry is the problem is like saying that the internet is a bug the Conficker worm exploited. It clearly isn't, it just used the internet to exploit a vuln in Windows. See the difference? Similarily, I would NOT say that Outlook letting users run executables is a security flaw. That fault clearly lies in the user running it or the policy of the IT dept which should disable it. Personally, I thought my post was giving the nod to Vista (64-bit only) and Win 7, but whatever.
They are machine instructions. So, on Windows, you would need to load some code into the kernel ("device driver") that calls these instructions. As I said, on Vista 32-bit and XP, the Administrator can do this. So, the extra step would be loading a kernel module that writes to the MTRR registers, instead of doing it directly. I should note, making this exploit more generic (work on more then a DQ35 w/ 2GB RAM) requires a bit of skill, certainly more so then would be required to write a no-op Windows driver (seriously, 3 or 4 lines).
You fail.
SMM is higher. And code injected in there, or trojan in SMM and you're screwed.
The subject says it all.
AG
Non bene pro toto libertas venditur auro
unite the separated VM as one.......
so....just use one PC at a time.....
>.^
C'mon guys, where's that 'haha' tag that you so eagerly slap on to similar articles about Windows, hm?
Love sees no species.
Why was there even an attempt to implement a data store on the CPU that isn't accessible to the OS? Once any such repository is compromised, it's impractical to access and repair, so why not get out of the frigging way and just provide an API to access it.
Yes, I'm looking at you, TPM.
Casual setup of sudo is the biggest security hole. On my Asus EEE running the pre-installed Xandros, they have sudo enabled for everything and passwordless as well. If you turn it off, you can't shutdown or boot up. WTF? Then again, they also have an ancient vulnerable version of samba since the last time I checked updates a month or so ago, and the kernel is vulnerable to the vmsplice exploit. Easy root access with no user interaction.
I managed to disable samba, and I found the programs to enable in sudo so I could shutdown the system, but it wouldn't boot up! They locked down the system tight so it is very hard to access the boot process, so it took some panic and effort to get it working again.
OK, so how do I know what motherboard my Dell server has in it?
Actually, all you need is debugging rights on the machine to do whatever you want to whatever memory you want.
Admins have debugging rights out of the box, nothing special required. So while you need to know a little about the debugging API, I don't really see how this is any different than say using /dev/kmem or something like that, since you need to have a clue about how /dev/kmem works and the IOCTLs involved with using it.
Same idea, different API, people just don't really call it an API when you're using a device.
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
While I agree with you completely, I would like to point out that people think ActiveX is nothing but one big exploit when it really is just a feature and is no less secure than a Firefox plugin.
So while you and I may not call this a 'Linux exploit', I do not call any ActiveX issue an exploit either. If you intentionally allow someone to run unsafe code the bug is in the operator, not the software.
I just get urked by people who don't understand that ActiveX isn't a security problem, the users who click 'YES YES YES YES' to every warning that pops up telling them its a bad idea are the security problem.
Of course anything that lets a web page install and run an ActiveX without the users explicit permission is no different than any thing that allows a web page to run an app on a Linux box without explicit permission. But that would be a browser exploit, not a Linux exploit or a Windows (or ActiveX) exploit.
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
for production machines with real workloads.
Lets think about it for a second for all those idiots who use VMs like a security fence.
If the OS isn't capable of protecting itself, why on Earth would you think the hypervisor would be? The OS is capable of doing EVERYTHING the VM hypervisor can do. Its just a matter of if it is written to do so or not. The hypervisor is really just another OS with an API that is a lot like physical hardware that it exposes to the virtual machines. With hypervisors you actually expose the physical
If the VM server can say 'don't let anything break out of this sandbox' SO CAN AN OS WRITTEN TO DO SO. If an exploit comes out that can not be stopped by the processor hardware then neither the hypervisor nor the OS can stop it. The only way to truely stop such a thing is software emulation of EVERY ASPECT of the hardware, which for reference would suck ass and no one would want to use anyway, and its probably got its own set of exploits.
VM servers are only useful if you are one of those lucky bastards who works somewhere that where you end up with a bunch of departments wanting to run software that you can't put on other servers because of incompatibilities with libraries and the hardware would be so under utilized most of the time that you might as well throw another similar package on it. Other reasons are because you want to give the department (such as development) full control over the 'machine' but they really don't need a full machine.
Hypervisors are NOT A SECURITY TOOL. Anyone who thinks they are is ignorant. They are simply ways to better utilize under used hardware. Period.
With that said, I run a small VM server for our company, its got 15 or so VMs running on it, lets me allow random people to run whatever they want in a sandbox for testing and development without having 15 boxes in the server room wasting space, heat and energy. When I separate production machines for security reasons, they run on physically separate hardware. Those machines all pretty much do A SINGLE TASK so I can limit the possible ways each component can be exploited and how far that exploit can go.
Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
No, you're not missing anything. What's been said is that if someone has access to your user account, it's pretty easy for them to gain root. If all you care about is protecting your data, then you are compromised enough. But, maybe the hacker/worm doesn't care about your data, and just wants your computer... to say, be a zombie for a DOS attack or for an ftp server.
How many more years will slashdot have an off-by-one error on your Score in your profile?
If I am root, why do I need to use 'Intel cache poisoning' to install a rootkit?
TOP DSLR Cameras Reviews of the top DSLRs