Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-11-2024 18:58

General

  • Target

    2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe

  • Size

    12.0MB

  • MD5

    67e1f186a1b891f22c2e76e7427fd639

  • SHA1

    bbc15cb6b68329ad3de7040b8b68a684d6aa2320

  • SHA256

    ea9c33f87addc3ca9c0ee0c510a022c879a81863b3c6966e8b398a588a549b86

  • SHA512

    3b26c6053b35b44d84a2e9fb5ee50f643a1e9c8dd1562b854cf5fad655aac4cb7ed0d1496cca2cc7d7887825c0ac9a47dcbb92a65187f13048cb4a959557b620

  • SSDEEP

    49152:wVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGu:wVdrl/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-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xwrrcehm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjrrpnra.exe" C:\Windows\SysWOW64\xwrrcehm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xwrrcehm binPath= "C:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xwrrcehm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xwrrcehm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4892
    • 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:4604
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 448 -s 1268
      2⤵
      • Program crash
      PID:4120
  • C:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exe
    C:\Windows\SysWOW64\xwrrcehm\gjrrpnra.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-06_67e1f186a1b891f22c2e76e7427fd639_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1760
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1760 -s 512
      2⤵
      • Program crash
      PID:2500
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 448 -ip 448
    1⤵
      PID:5088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1760 -ip 1760
      1⤵
        PID:2036

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        82ddfe28050958289c242f672a3b8497

        SHA1

        17ea894415e2e07fb1d95d95ba3f1a9bbe59a570

        SHA256

        c06bf081db47073c7e0ee8ffc6d8d2b4daf4439032727c557fb048635a74a980

        SHA512

        266964eac552408f6cc907c4c84f0a41850ebe991b6c6aed1d4ed43c73d6c55f35f8bdca136bc169b1a62e100265d13904f3d725b29ae74b346af566eed294e8

      • memory/448-8-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

      • memory/448-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/448-2-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

      • memory/448-1-0x00000000007C0000-0x00000000008C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

      • memory/3392-14-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/3392-16-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB

      • memory/3392-17-0x0000000001250000-0x0000000001265000-memory.dmp

        Filesize

        84KB