Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 18:25

General

  • Target

    2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe

  • Size

    14.2MB

  • MD5

    4d8443a6e2de3d95f08b47195eb2049e

  • SHA1

    02b019101b6d8b2d2368e04eb35ce8a0b8fdc2fe

  • SHA256

    f405202646095edef5846fa1c75bfa27c489c80dce2b7ba9deaf4b6cd3d27f5f

  • SHA512

    65772b434c1c0588cc361b65082b8993f830bbe3d934d3a1b1d3d9549d72e597d2a1415c9d7d43bd9f09d0c6891ae9747485b765ff5f47fda8236dd76a12832b

  • SSDEEP

    24576:JEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ:Cfot

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-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mbdevwej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wskkhwvj.exe" C:\Windows\SysWOW64\mbdevwej\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mbdevwej binPath= "C:\Windows\SysWOW64\mbdevwej\wskkhwvj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mbdevwej "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mbdevwej
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2128
    • 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:1856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3728 -s 1040
      2⤵
      • Program crash
      PID:3772
  • C:\Windows\SysWOW64\mbdevwej\wskkhwvj.exe
    C:\Windows\SysWOW64\mbdevwej\wskkhwvj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_4d8443a6e2de3d95f08b47195eb2049e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4192
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 508
      2⤵
      • Program crash
      PID:4036
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3728 -ip 3728
    1⤵
      PID:3332
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4192 -ip 4192
      1⤵
        PID:1308

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        bbf008f9b3b1c71dda38c871c22a7915

        SHA1

        e8a91c3f8eb7048af26681ef51c1e099847db718

        SHA256

        fac5fac1caf507a0dec393a262a52d090d7425d473cf99a5071b162f47491c03

        SHA512

        9e8eab44b30a9a526f3ed27dfba31c7e5e75d6eca98f1c812aad6f6d121050bc645fc8e1e2a5f9fc994c6ac5b8a0424a1058f1520acc53e6a2540565e7e77996

      • memory/2792-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2792-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/2792-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/3728-8-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3728-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/3728-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3728-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

      • memory/4192-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4192-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4192-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4192-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB