Analysis

  • max time kernel
    145s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    29-06-2024 21:19

General

  • Target

    2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe

  • Size

    14.9MB

  • MD5

    59f4267dae33e83b59d952b7d5fe31bc

  • SHA1

    d1e6de12cc46bdb05943adde0c03b4b212685efb

  • SHA256

    e000777678e885983bbbea7fc659bcf79c7c4ba38d548d3411a58347666dc92a

  • SHA512

    927ffd0a7382a54b6561c5d2dc0b948e95498f56dfa194bec4c35f18c2af45e27ed496c884a0d3702537dc50c57fcd967cadda39464e7979e6fe7715f56ee14b

  • SSDEEP

    6144:v+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:v+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwkilhrh\
      2⤵
        PID:1700
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnpmgcmr.exe" C:\Windows\SysWOW64\rwkilhrh\
        2⤵
          PID:1676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rwkilhrh binPath= "C:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2568
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rwkilhrh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2648
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rwkilhrh
          2⤵
          • Launches sc.exe
          PID:2572
        • 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
          PID:2560
      • C:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exe
        C:\Windows\SysWOW64\rwkilhrh\tnpmgcmr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-29_59f4267dae33e83b59d952b7d5fe31bc_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2432
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        fd57fdfbd6bb96a1466c24bf49c9a63d

        SHA1

        ae9445ed558b8d7cd89cc9e5eee33907a989c914

        SHA256

        e507c204d9258b86f607116539efba6ea9bb8044004cdf058873677725af46b7

        SHA512

        5bb93b9a5d175f3b8e141b51171a6f0ce209cb47825fa9584a7b0a5ee68213e5d1f279ff41480419f899b67608db45327771964eaf1792bc7459966f91a0a943

      • memory/2196-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

      • memory/2196-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2196-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2196-13-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/2292-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2292-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2292-7-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2292-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2292-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2432-11-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB