Analysis

  • max time kernel
    62s
  • max time network
    108s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220718-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220718-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-07-2022 06:41

General

  • Target

    Invoice.exe

  • Size

    764KB

  • MD5

    f9794c7a5cc09efda309692ef0f9ef61

  • SHA1

    59939ac14719398d439e99835233187ff7e17512

  • SHA256

    4c93747030e17a8581b15cce2fd3aee28eb12dab9a8ec33839d083cda679487d

  • SHA512

    98539d2058c5145c13140321fec8b251aed184a9a3bcfff1f633265e40e9fa556e5456dbf05b37e594065d376b6215c050bc40ac997595cb5d3c3ba7bf9e71b0

Malware Config

Extracted

Family

netwire

C2

194.5.98.126:3378

Attributes
  • activex_autorun

    false

  • copy_executable

    false

  • delete_original

    false

  • host_id

    HostId-%Rand%

  • keylogger_dir

    %AppData%\Logs\

  • lock_executable

    false

  • offline_keylogger

    true

  • password

    Pass@2023

  • registry_autorun

    false

  • use_mutex

    false

Signatures

  • NetWire RAT payload 3 IoCs
  • Netwire

    Netwire is a RAT with main functionalities focused password stealing and keylogging, but also includes remote control capabilities as well.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\Invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\IhTJAEbPdqG.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3248
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\IhTJAEbPdqG" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4026.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3496
    • C:\Users\Admin\AppData\Local\Temp\Invoice.exe
      "C:\Users\Admin\AppData\Local\Temp\Invoice.exe"
      2⤵
        PID:4272

    Network

    MITRE ATT&CK Enterprise v6

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\tmp4026.tmp

      Filesize

      1KB

      MD5

      6065cf515aa246f68e4c0b0a2efdc33a

      SHA1

      4003ed5414ba61bb47f0a2229cd296104dde3cc9

      SHA256

      c636fae1b55d6eed4b8d94f9c28ac1ea4ba7d52f7d47ebd7ec0dfb871f94b325

      SHA512

      1c2926c9be7017085f57e544fef750e9763165613f5f55798174e249219e420a0ec4fa4a2da7e99549da1f2d6da20842e19108c86592f14c650891434ab22b66

    • memory/2024-131-0x0000000005700000-0x0000000005CA4000-memory.dmp

      Filesize

      5.6MB

    • memory/2024-132-0x0000000005150000-0x00000000051E2000-memory.dmp

      Filesize

      584KB

    • memory/2024-133-0x00000000051F0000-0x00000000051FA000-memory.dmp

      Filesize

      40KB

    • memory/2024-134-0x00000000076C0000-0x000000000775C000-memory.dmp

      Filesize

      624KB

    • memory/2024-130-0x00000000006E0000-0x00000000007A6000-memory.dmp

      Filesize

      792KB

    • memory/3248-145-0x0000000005C50000-0x0000000005CB6000-memory.dmp

      Filesize

      408KB

    • memory/3248-153-0x0000000007610000-0x000000000762A000-memory.dmp

      Filesize

      104KB

    • memory/3248-158-0x0000000007940000-0x0000000007948000-memory.dmp

      Filesize

      32KB

    • memory/3248-139-0x0000000005520000-0x0000000005B48000-memory.dmp

      Filesize

      6.2MB

    • memory/3248-157-0x0000000007960000-0x000000000797A000-memory.dmp

      Filesize

      104KB

    • memory/3248-156-0x0000000007850000-0x000000000785E000-memory.dmp

      Filesize

      56KB

    • memory/3248-155-0x00000000078A0000-0x0000000007936000-memory.dmp

      Filesize

      600KB

    • memory/3248-144-0x0000000005440000-0x0000000005462000-memory.dmp

      Filesize

      136KB

    • memory/3248-135-0x0000000000000000-mapping.dmp

    • memory/3248-146-0x0000000005CC0000-0x0000000005D26000-memory.dmp

      Filesize

      408KB

    • memory/3248-154-0x0000000007690000-0x000000000769A000-memory.dmp

      Filesize

      40KB

    • memory/3248-148-0x0000000006300000-0x000000000631E000-memory.dmp

      Filesize

      120KB

    • memory/3248-149-0x00000000068E0000-0x0000000006912000-memory.dmp

      Filesize

      200KB

    • memory/3248-150-0x0000000070B10000-0x0000000070B5C000-memory.dmp

      Filesize

      304KB

    • memory/3248-151-0x00000000068C0000-0x00000000068DE000-memory.dmp

      Filesize

      120KB

    • memory/3248-152-0x0000000007C50000-0x00000000082CA000-memory.dmp

      Filesize

      6.5MB

    • memory/3248-137-0x00000000029E0000-0x0000000002A16000-memory.dmp

      Filesize

      216KB

    • memory/3496-136-0x0000000000000000-mapping.dmp

    • memory/4272-147-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/4272-143-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/4272-141-0x0000000000400000-0x0000000000433000-memory.dmp

      Filesize

      204KB

    • memory/4272-140-0x0000000000000000-mapping.dmp