Analysis

  • max time kernel
    136s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20231129-en
  • resource tags

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    30/12/2023, 02:34

General

  • Target
    0bd4b17197a237a6b892cb49969e8b2b.exe
  • Size 10.9MB
  • Sample231230-c2vreafge4
  • SHA256 32b88643109ff71687d0afd291967db514f6ba60f0c8fb6ab08cca85c71bb0c5
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • defeatwax.ru

  • refabyd.info

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) 1 TTPs
  • Modifies Windows Firewall 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0bd4b17197a237a6b892cb49969e8b2b.exe
    "C:\Users\Admin\AppData\Local\Temp\0bd4b17197a237a6b892cb49969e8b2b.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qlrgkqom\
      2⤵
        PID:2948
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ojyinski.exe" C:\Windows\SysWOW64\qlrgkqom\
        2⤵
          PID:2872
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qlrgkqom binPath= "C:\Windows\SysWOW64\qlrgkqom\ojyinski.exe /d\"C:\Users\Admin\AppData\Local\Temp\0bd4b17197a237a6b892cb49969e8b2b.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2796
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qlrgkqom "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qlrgkqom
          2⤵
          • Launches sc.exe
          PID:2660
        • 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
          PID:2280
      • C:\Windows\SysWOW64\qlrgkqom\ojyinski.exe
        C:\Windows\SysWOW64\qlrgkqom\ojyinski.exe /d"C:\Users\Admin\AppData\Local\Temp\0bd4b17197a237a6b892cb49969e8b2b.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2584
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:768

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            ojyinski.exe

            • Path C:\Users\Admin\AppData\Local\Temp\ojyinski.exe
            • Size 893KB
            • SHA256 bf356e2c01da47e9b052dcec982784123ee558d635e59dd3a5273416f03ec867
            • MD5 SHA1 SHA512 SSDEEP

            ojyinski.exe

            • Path C:\Windows\SysWOW64\qlrgkqom\ojyinski.exe
            • Size 92KB
            • SHA256 1ca2743d033fc40c55d44424a2ca5dba099a7bdaf1f7b10b78dd7c52444186d8
            • MD5 SHA1 SHA512 SSDEEP

            memory/768-21-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/768-20-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/768-22-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/768-10-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/768-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/768-15-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/768-19-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1576-9-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1576-2-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1576-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

            memory/1576-8-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/1576-3-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2584-17-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2584-13-0x0000000000400000-0x0000000000468000-memory.dmp

            memory/2584-11-0x00000000005B0000-0x00000000006B0000-memory.dmp