Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 19:36

General

  • Target

    2024-12-29_da390c8c8e0de1ba0d347f63308bc1e0_mafia.exe

  • Size

    14.0MB

  • MD5

    da390c8c8e0de1ba0d347f63308bc1e0

  • SHA1

    d9ef7a1414863658d11eb5b5b1082da30da01512

  • SHA256

    957a858748e01cebfa48fe2dc6bfa72c0ec2b380e5267bafc3760ace947d4d18

  • SHA512

    9e3fdf31a6d93631f73659b373e35116af70bc74f37ff8f9fbc2e8babac11ad969c2dd22f596164f154ae801cc07d5e10fd1bb9b256e59ce665b400bf965f507

  • SSDEEP

    3072:aLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:DOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-12-29_da390c8c8e0de1ba0d347f63308bc1e0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-29_da390c8c8e0de1ba0d347f63308bc1e0_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ibumsygv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kshlywff.exe" C:\Windows\SysWOW64\ibumsygv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ibumsygv binPath= "C:\Windows\SysWOW64\ibumsygv\kshlywff.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-29_da390c8c8e0de1ba0d347f63308bc1e0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ibumsygv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ibumsygv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4936
    • 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:2924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4828 -s 1044
      2⤵
      • Program crash
      PID:5044
  • C:\Windows\SysWOW64\ibumsygv\kshlywff.exe
    C:\Windows\SysWOW64\ibumsygv\kshlywff.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-29_da390c8c8e0de1ba0d347f63308bc1e0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2984 -s 508
      2⤵
      • Program crash
      PID:4056
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4828 -ip 4828
    1⤵
      PID:3752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 2984 -ip 2984
      1⤵
        PID:4004

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        250637936f0a01a91e7f4b0ac3345b59

        SHA1

        1bd23b05b6b41baf26c6da3ba9183ea9bcb7bda6

        SHA256

        6041ac1e4a1d8735c52023af99286c4697c962739825623235c6fd9327abce2c

        SHA512

        b6454636e7a70c41adff8cad8b91b6712f9a21125cf512b2793f4b850724fd468669299c49fd6cc89916e4c5301e1271b19407d55349f8fd2a58b93bce4c92ef

      • memory/1920-14-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/1920-17-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/1920-16-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4828-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB