Analysis

  • max time kernel
    148s
  • 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
    17-01-2025 19:16

General

  • Target

    2025-01-17_db9790710e078b436cbf178a61ee4147_mafia.exe

  • Size

    14.8MB

  • MD5

    db9790710e078b436cbf178a61ee4147

  • SHA1

    c512730d9f9565a00a0c7b4be0fb20b03e3472cb

  • SHA256

    1425db43a8b0112cf05aee3ee89fa87faf60e2219e5e192b64cca4a0e66f347a

  • SHA512

    bfa2be34ee5b07149361c390afa2e00f1aaed038824307cbf27eca3eaa48bc2f7516b948cc571a5d904c84dbf0eabcfd79a3ebdebe5032965b9b5a2aba359a01

  • SSDEEP

    24576:kpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttl:woo

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-17_db9790710e078b436cbf178a61ee4147_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-17_db9790710e078b436cbf178a61ee4147_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tlomdpvn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gaarclce.exe" C:\Windows\SysWOW64\tlomdpvn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tlomdpvn binPath= "C:\Windows\SysWOW64\tlomdpvn\gaarclce.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_db9790710e078b436cbf178a61ee4147_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tlomdpvn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tlomdpvn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4264
    • 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:2776
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 1184
      2⤵
      • Program crash
      PID:520
  • C:\Windows\SysWOW64\tlomdpvn\gaarclce.exe
    C:\Windows\SysWOW64\tlomdpvn\gaarclce.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_db9790710e078b436cbf178a61ee4147_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2688
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2688 -s 512
      2⤵
      • Program crash
      PID:2128
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3016 -ip 3016
    1⤵
      PID:2216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2688 -ip 2688
      1⤵
        PID:3184

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        ececdf6b51502762492427988e505d5c

        SHA1

        cb20dc821ac49502526c84b04f5bba2e2f46de1e

        SHA256

        c379c38044bd5194d6b5f12f58c893dd37552d474749c14db1280bf4ad72ebae

        SHA512

        37f5d7334a1ad543c17412e6272995e0653c345aa9e61e70ffdb50541294ebea888154a8dde5142edc6cdde68a031a38502ca0a2074c96d4d57d6ab25d236e72

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3016-1-0x00000000007E0000-0x00000000008E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3556-14-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB

      • memory/3556-16-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB

      • memory/3556-17-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB