Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-01-2025 21:52

General

  • Target

    2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe

  • Size

    12.3MB

  • MD5

    44975788c2e1c5ac4372fdead1c27278

  • SHA1

    0043958faabef750448c2068a6d974d9526321ef

  • SHA256

    09185d589ed81a08a4e4d3eb544ccc7a26902a0c3dde0b8269203a27342bc38e

  • SHA512

    95ab499ed3c2fc8bebcaa56c68204b539bada35620fce489901e63c351cadfccc47b34acdf54017a6eb6260df1e8bac488cd2c4edcbf5cd6c07f8f86e5bc39d3

  • SSDEEP

    24576:L6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ:GWdLQk

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\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bgekboh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mlzbpmnf.exe" C:\Windows\SysWOW64\bgekboh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2636
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bgekboh binPath= "C:\Windows\SysWOW64\bgekboh\mlzbpmnf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bgekboh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bgekboh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3388
    • 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:2704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1192 -s 1040
      2⤵
      • Program crash
      PID:3172
  • C:\Windows\SysWOW64\bgekboh\mlzbpmnf.exe
    C:\Windows\SysWOW64\bgekboh\mlzbpmnf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4896 -s 528
      2⤵
      • Program crash
      PID:4204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1192 -ip 1192
    1⤵
      PID:4576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4896 -ip 4896
      1⤵
        PID:4944

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        4e1006153c342b49133c553c0ce8a311

        SHA1

        fdc33dd5ef313e746315bee011b02a056eaf0c69

        SHA256

        b6d441c0bae71ffcd388cce184969e5480df836a895b4829be06b08d9488bf11

        SHA512

        43d8f21d5538aa418d2a9ce6cbc6c45250fcd83b4783b1bcc6b8c4848d4cc50c3acdc753d694ccfc8e07549a3a9364bfb047a905e0a2755c0ad1c98d3fd4ec9b

      • memory/740-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/740-17-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/740-16-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1192-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/1192-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

        Filesize

        1024KB

      • memory/1192-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/1192-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4896-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4896-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4896-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4896-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB