Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-11-2024 22:19

General

  • Target

    2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe

  • Size

    14.4MB

  • MD5

    b29c68e036c667eaa53f1d05250810aa

  • SHA1

    e7dd2c9c7126de966d0b6dc0454759dcad7e3184

  • SHA256

    3f198854ec2a1e8720d308e6543f507b8313696f4c5a659fafffb0e355f9ebf4

  • SHA512

    23a79bfbf7ff53e7b4aaee4b96b78d436d58ae966d6d17184fc39784f03283689f51e8460ace2f98ff92e435721dec49a34fb1122f08aa8cbac8b5b01c02ac4e

  • SSDEEP

    49152:eVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGv:eVdrl/9zG

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-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rjgmtrg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pflefndm.exe" C:\Windows\SysWOW64\rjgmtrg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rjgmtrg binPath= "C:\Windows\SysWOW64\rjgmtrg\pflefndm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rjgmtrg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rjgmtrg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:620
    • 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:2352
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2184 -s 1036
      2⤵
      • Program crash
      PID:964
  • C:\Windows\SysWOW64\rjgmtrg\pflefndm.exe
    C:\Windows\SysWOW64\rjgmtrg\pflefndm.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3324
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3324 -s 520
      2⤵
      • Program crash
      PID:4960
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2184 -ip 2184
    1⤵
      PID:3972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3324 -ip 3324
      1⤵
        PID:2320

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        cb9be8913ddc5d26d0319003bcbccf4d

        SHA1

        b5ebaae3ebf0a083453a2aa5052445f3cd17acbd

        SHA256

        7e0ee6d6b5436d186d3d749a7642bf03d7eea2a4e419e3d63129dc37e8b39004

        SHA512

        dd508ec0186e16920a91410e9e11123fad6129de1148b431eb53553048a2424c777fcdbe06c6823ceb277d248eb830081906ac6fd240e47d5383ccba2c713474

      • memory/2184-8-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2184-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

      • memory/2184-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

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

        Filesize

        84KB

      • memory/2184-2-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB

      • memory/3324-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3324-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3324-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3324-19-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/4948-14-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4948-16-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB

      • memory/4948-17-0x00000000006A0000-0x00000000006B5000-memory.dmp

        Filesize

        84KB