Analysis

  • max time kernel
    150s
  • 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
    01-02-2025 20:21

General

  • Target

    2025-02-01_8305103a549a75d8a52f571245bce8fe_mafia.exe

  • Size

    10.4MB

  • MD5

    8305103a549a75d8a52f571245bce8fe

  • SHA1

    2ea94c7d17665b69c590b856aa87dfd3f5ee58b0

  • SHA256

    2bdbcc7f44fd98dd30ccdb2396267ec841f5b33c17b46c87daeed6baaa1f86cc

  • SHA512

    40e27b74d6939795d03487d168c5e25984e2c8b774470eb0399f269d66c00b826184e2bb11507479a8e4909dd8d9f33ef91bffc4a7d8b7b65c38550dc52bfc2a

  • SSDEEP

    24576:qEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ3:Dfot

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-02-01_8305103a549a75d8a52f571245bce8fe_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_8305103a549a75d8a52f571245bce8fe_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hwlujxye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kirsbxmi.exe" C:\Windows\SysWOW64\hwlujxye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hwlujxye binPath= "C:\Windows\SysWOW64\hwlujxye\kirsbxmi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_8305103a549a75d8a52f571245bce8fe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hwlujxye "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hwlujxye
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:524
    • 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:1116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3204 -s 1364
      2⤵
      • Program crash
      PID:3688
  • C:\Windows\SysWOW64\hwlujxye\kirsbxmi.exe
    C:\Windows\SysWOW64\hwlujxye\kirsbxmi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_8305103a549a75d8a52f571245bce8fe_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1196
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1196 -s 512
      2⤵
      • Program crash
      PID:1604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3204 -ip 3204
    1⤵
      PID:4300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1196 -ip 1196
      1⤵
        PID:4368

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        0f5cde624283d31e64928370b51c9737

        SHA1

        ca803d8da5d4dbd0a0d3ea08a7f4c02eba980afa

        SHA256

        c69a0f00537a461b4d9f8a01dcd2bc77d14b9548136fe7349e252bbae15ebe00

        SHA512

        db9b93fb236fb0ccf62354d18fbebaee744b67c95c276445338b140d19b821be6043d30e4911de7c852fb773bf148a0dde95998383df0d4174c8082711c38e60

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1196-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2228-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2228-16-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2228-17-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3204-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3204-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3204-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB