Office MACROS PERIL! Age-old VBScript tactic is BACK in biz attack

'Office macro exploits only cool thing Visual Basic used for,' quips securobod


The dangers of allowing Office macros have been underlined by a newly discovered attack against European and Israeli companies.

Malicious Office macros were used as the launchpad of the so-called RocketKitten attacks presented at this year's Chaos Communication Congress hacking conference (stream here, relevant material starts around 20 minutes in). The technique is nothing new and still effective - even though it has been around for years and is straightforward to block.

Visual Basic for Applications (VBA) is one of the easiest methods to deliver malware nasties: simply by dropping malicious code into an Office doc as a macro and attaching to an email. The victim would be lured by a plausible pretext into opening an Office file attachment delivered to them by email.

“It’ll often have ‘lure’ content that looks plausible, convincing the user to click the 'enable macros' alert, the macro runs, then we have lovely reverse shell and back door on their desktop,” explained Ken Munro of security consultancy Pen Test Partners. “This is usually easier than sending executables by email, as those are blocked by Outlook and/or may require local admin rights to install.”

The fix is easy, but hardly any organisations do it: simply block macros in Group Policy.

“Some departments need macros for spreadsheet and other operations, but at the very least restrict macro use to only those who explicitly need it,” Munro told El Reg. “Give special training on phishing attacks to those who do have macros enabled, and ensure they are particularly careful with Office files from external sources.”

“It’s often the finance department that relies on macros - ah yes, the department that has access to the company bank accounts and makes the ideal target for banking credential theft. The average user simply doesn't need them, so this isn’t going to cause much inconvenience,” he added.

Other mitigation techniques involve digitally signing approved macros after establishes policies that mean only signed macros will run.

The issue goes beyond the recent VBScript vulnerability, patched by Microsoft in early December. “There’s a far broader issue around VB and Office macros that seems overlooked by most,” Munro concluded. “It isn't new; everyone in the pen test space knows about it, but few IT security people in end user land seem to appreciate its significance.

“Office macro exploits are just about the only cool thing that Visual Basic gets used for any more,” he added.

Munro has put together a blog post - featuring tests on proof of concept malicious code - explaining the issue in greater depth here. ®


Other stories you might like

  • Despite 'key' partnership with AWS, Meta taps up Microsoft Azure for AI work
    Someone got Zuck'd

    Meta’s AI business unit set up shop in Microsoft Azure this week and announced a strategic partnership it says will advance PyTorch development on the public cloud.

    The deal [PDF] will see Mark Zuckerberg’s umbrella company deploy machine-learning workloads on thousands of Nvidia GPUs running in Azure. While a win for Microsoft, the partnership calls in to question just how strong Meta’s commitment to Amazon Web Services (AWS) really is.

    Back in those long-gone days of December, Meta named AWS as its “key long-term strategic cloud provider." As part of that, Meta promised that if it bought any companies that used AWS, it would continue to support their use of Amazon's cloud, rather than force them off into its own private datacenters. The pact also included a vow to expand Meta’s consumption of Amazon’s cloud-based compute, storage, database, and security services.

    Continue reading
  • Atos pushes out HPC cloud services based on Nimbix tech
    Moore's Law got you down? Throw everything at the problem! Quantum, AI, cloud...

    IT services biz Atos has introduced a suite of cloud-based high-performance computing (HPC) services, based around technology gained from its purchase of cloud provider Nimbix last year.

    The Nimbix Supercomputing Suite is described by Atos as a set of flexible and secure HPC solutions available as a service. It includes access to HPC, AI, and quantum computing resources, according to the services company.

    In addition to the existing Nimbix HPC products, the updated portfolio includes a new federated supercomputing-as-a-service platform and a dedicated bare-metal service based on Atos BullSequana supercomputer hardware.

    Continue reading
  • In record year for vulnerabilities, Microsoft actually had fewer
    Occasional gaping hole and overprivileged users still blight the Beast of Redmond

    Despite a record number of publicly disclosed security flaws in 2021, Microsoft managed to improve its stats, according to research from BeyondTrust.

    Figures from the National Vulnerability Database (NVD) of the US National Institute of Standards and Technology (NIST) show last year broke all records for security vulnerabilities. By December, according to pentester Redscan, 18,439 were recorded. That's an average of more than 50 flaws a day.

    However just 1,212 vulnerabilities were reported in Microsoft products last year, said BeyondTrust, a 5 percent drop on the previous year. In addition, critical vulnerabilities in the software (those with a CVSS score of 9 or more) plunged 47 percent, with the drop in Windows Server specifically down 50 percent. There was bad news for Internet Explorer and Edge vulnerabilities, though: they were up 280 percent on the prior year, with 349 flaws spotted in 2021.

    Continue reading

Biting the hand that feeds IT © 1998–2022