ARM emulator in a VM? Yup, done. Ready to roll, no config required

Also does MIPS, PowerPC, Sparc, and AARCH64

Hacking low-level code on ARM processors just became a little easier after a researcher who operates under the name Azeria Labs put together virtual machines that emulate common hardware.

Azeria’s ARM Lab Environment, here, is a VM that offers a QEMU ARMv6 image on Ubuntu.

There’s also a “basic cheat sheet” here, covering how to write ARM assembly, organisation of registers and memory, the ARM instruction set and so on.

Oh, and there are also pages explaining ARM shellcode, process memory, and memory corruption, for when you’re ready to try and craft exploits.

Azeria notes its system is useful beyond ARM: hackers can also get ready-to-go QEMU images for MIPS, PowerPC, Sparc, and AARCH64.

It's pretty easy to set up a non-x86 virtual machine if you know what you're doing. If you're a newbie looking to get into reverse engineering low-level code or practicing on new CPU architectures, these VMs are for you.

Exploits at the firmware level have hit the headlines this year, with most attention directed towards the dominant Intel architecture (such as, for example, Chipzilla’s Intel Management Engine, which shipped without a password, and it turned out, also has an attack path via USB).

Hackers are showing growing interest in ARM-based processors as well, because they’re the dominant architecture in Internet-of-Things products (which have to be lightweight and low-power).

In September, for example, we noted this demonstration at Usenix. Adrian Tang and his co-conspirators found a way past ARM’s TrustZone by watching its power messages. ARM hasn’t sat idle in the face of such threats: last month it announced a free hardened BIOS as part of a strategy to improve Thing security. ®

Similar topics

Other stories you might like

  • Restructure at Arm focused on 'non-engineering' roles
    Meanwhile, CEO wants to vacuum up engineering talent amid return to stock market

    Updated Arm today told The Reg its restructuring ahead of its return to the stock market is focused on cutting "non-engineering" jobs.

    This is after we queried comments made this morning by Arm chief executive Rene Haas in the Financial Times, in which he indicated he was looking to use funds generated by the expected public listing to expand the company, hire more staff, and potentially pursue acquisitions. This comes as some staff face the chop.

    This afternoon we were told by an Arm spokesperson: "Rene was referring more to the fact that Arm continues to invest significantly in its engineering talent, which makes up around 75 percent of the global headcount. For example, we currently have more than 250 engineering roles available globally."

    Continue reading
  • Arm says its Cortex-X3 CPU smokes this Intel laptop silicon
    Chip design house reveals brains of what might be your next ultralight notebook

    Arm has at least one of Intel's more capable mainstream laptop processors in mind with its Cortex-X3 CPU design.

    The British outfit said the X3, revealed Tuesday alongside other CPU and GPU blueprints, is expected to provide an estimated 34 percent higher peak performance than a performance core in Intel's upper mid-range Core i7-1260P processor from this year.

    Arm came to that conclusion, mind you, after running the SPECRate2017_int_base single-threaded benchmark in a simulation of its CPU core design clocked at an equivalent to 3.6GHz with 1MB of L2 and 16MB of L3 cache.

    Continue reading
  • Intel is running rings around AMD and Arm at the edge
    What will it take to loosen the x86 giant's edge stranglehold?

    Analysis Supermicro launched a wave of edge appliances using Intel's newly refreshed Xeon-D processors last week. The launch itself was nothing to write home about, but a thought occurred: with all the hype surrounding the outer reaches of computing that we call the edge, you'd think there would be more competition from chipmakers in this arena.

    So where are all the AMD and Arm-based edge appliances?

    A glance through the catalogs of the major OEMs – Dell, HPE, Lenovo, Inspur, Supermicro – returned plenty of results for AMD servers, but few, if any, validated for edge deployments. In fact, Supermicro was the only one of the five vendors that even offered an AMD-based edge appliance – which used an ageing Epyc processor. Hardly a great showing from AMD. Meanwhile, just one appliance from Inspur used an Arm-based chip from Nvidia.

    Continue reading

Biting the hand that feeds IT © 1998–2022