Analysis

  • max time kernel
    149s
  • max time network
    136s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-11-2024 22:21

General

  • Target

    2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe

  • Size

    12.3MB

  • MD5

    b5b8baadae1b217da5ad840ba6712a03

  • SHA1

    402c25bf0813af7640a96aeed48ee9ff5fcd4324

  • SHA256

    7cae49537cb6924e95212c0cb4c79a9f3b86a652e085b733888052890b7ec68e

  • SHA512

    7fd604b1329e8e61c904a4b7231d31e5cd06743fad8093961a06c3def34409297660525b236c28caf45cfae40f17408fe1ebc5313d80bd72a44b5fff803e7961

  • SSDEEP

    49152:rVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGe:rVdrl/9zG

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zibumrjm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3900
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hgsotdna.exe" C:\Windows\SysWOW64\zibumrjm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zibumrjm binPath= "C:\Windows\SysWOW64\zibumrjm\hgsotdna.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zibumrjm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zibumrjm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4764
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 116 -s 652
      2⤵
      • Program crash
      PID:1036
  • C:\Windows\SysWOW64\zibumrjm\hgsotdna.exe
    C:\Windows\SysWOW64\zibumrjm\hgsotdna.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b5b8baadae1b217da5ad840ba6712a03_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3192
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3192 -s 528
      2⤵
      • Program crash
      PID:3204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 116 -ip 116
    1⤵
      PID:3880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 3192 -ip 3192
      1⤵
        PID:1460

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\hgsotdna.exe

        Filesize

        13.0MB

        MD5

        b75e571255ba784ec0510e6a9f374359

        SHA1

        8dec7cc3ead00045985ccdd80af1bc79ba0f9807

        SHA256

        36840272f224f5e98271a281e369a57c65650f62b1e52d5cbc0653f1222d2ebe

        SHA512

        9ec85882e8df7ce5fbfbd618dd0c92c675eac7b5fb2751ffb77e67a7c7e5e530d988d06ff29f19a0211eae3892609adcc73f0be073c702216f23a4797c55f996

      • memory/116-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/116-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/116-2-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB

      • memory/116-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/116-8-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB

      • memory/116-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

      • memory/3192-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3192-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3192-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3192-18-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/5028-14-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/5028-16-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB

      • memory/5028-17-0x0000000001200000-0x0000000001215000-memory.dmp

        Filesize

        84KB