Analysis

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

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

General

  • Target

    2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe

  • Size

    11.9MB

  • MD5

    cf1ee4c0d22d48ebd7ba5de6d28e37ff

  • SHA1

    feffa2b1e47bb1770e61c0f1b76b37cb4ee4ad1d

  • SHA256

    5cdda5a30dfac65c765ddba79a5eb58eea819a818347e6b9a15e138a553e9c1c

  • SHA512

    6fd0cf200d338613a6eabfe20d12576572c73d12f99e01a7e1b2d431d3b692b6fbb2149e9a48463ee9235bb2e1dfefae692c1e11f9cdf20e970624841b3892b1

  • SSDEEP

    49152:OqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:OqtYc3

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-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\revigggk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pueztfce.exe" C:\Windows\SysWOW64\revigggk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create revigggk binPath= "C:\Windows\SysWOW64\revigggk\pueztfce.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description revigggk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start revigggk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3360
    • 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:4804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 744 -s 596
      2⤵
      • Program crash
      PID:2072
  • C:\Windows\SysWOW64\revigggk\pueztfce.exe
    C:\Windows\SysWOW64\revigggk\pueztfce.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2176
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2176 -s 512
      2⤵
      • Program crash
      PID:2860
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 744 -ip 744
    1⤵
      PID:3236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2176 -ip 2176
      1⤵
        PID:4844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        3f4c4c314a9e1e3500b0113f8815655c

        SHA1

        f364aebe26f744c276f7944bd52c57eae67a596e

        SHA256

        9ec3f86d763f85d37b64cec67cabe5a02420d653890b9ece64158b7540ef41fe

        SHA512

        3e0bad40bd20ddead45e2571760049d2044fe3ebae59ac5efd3d8b5bb073d5f56492320002eda9313ef202fff254a58956ddaf8e4f29bd09997441ea07598dec

      • memory/668-8-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

      • memory/668-14-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

      • memory/668-15-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

      • memory/744-1-0x0000000002EA0000-0x0000000002FA0000-memory.dmp

        Filesize

        1024KB

      • memory/744-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/744-11-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/744-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/744-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2176-13-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB