VM-Packages icon indicating copy to clipboard operation
VM-Packages copied to clipboard

npm package proposal: @electron/asar.vm

Open Maijin opened this issue 1 year ago • 7 comments

Package Name

@electron/asar

Tool Name

@electron/asar

Package type

NODE

Version

3.2.17.20241205

Category

PE

Tool's authors

Electron Team

Tool's description

Decompress Asar Archive (Extract Electron App).

Dependencies

nodejs >=10.12.0

Why is this tool a good addition?

To extract/decompress malicious electron app PE.

Extra information

https://github.com/electron/asar

Maijin avatar Jul 25 '24 06:07 Maijin

Another perhaps simpler tool than can unpack asar files is this:

https://www.tc4shell.com/en/7zip/asar/

It might be easier to install that, but either way I'm glad to see there's an asar tool on the way

thejoelpatrol avatar Aug 14 '24 21:08 thejoelpatrol

Closing this one in favor of #1147.

d35ha avatar Oct 04 '24 08:10 d35ha

I think we should do it the other way arround as the history of this issue includes useful information. Closing #1147 and reopening this issue.

Ana06 avatar Nov 22 '24 17:11 Ana06

@sara-rn would you like to take over this issue? @d35ha won't have time for it soon.

Ana06 avatar Nov 22 '24 17:11 Ana06

@mandiant/flare-vm we have to make a decision, the npm package https://github.com/electron/asar breaks: https://github.com/mandiant/VM-Packages/issues/1147#issuecomment-2408226341 the zip package from https://www.tc4shell.com/en/7zip/asar/ doesn't contain the version therefore an update would break the package. I also attempted to install https://github.com/electron/asar from releases, same error.

sara-rn avatar Jan 08 '25 11:01 sara-rn

@sara-rn what about ignoring the error using --loglevel=error in npm install?

Ana06 avatar Feb 03 '25 15:02 Ana06

two options to implement it:

  • duplicate the code of VM-Install-Node-Tool in this package to add the --loglevel=error
  • add the --loglevel=error inside VM-Install-Node-Tool so that it is used for all packages. I think this is ok as it would only ignore warnings. does someone see an issue with it @mandiant/vms ?

Ana06 avatar Feb 04 '25 11:02 Ana06