Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    20-04-2024 10:22

General

  • Target

    fc8a09cc8b58b2e8ccb5ceaad6f68465_JaffaCakes118.exe

  • Size

    12.5MB

  • MD5

    fc8a09cc8b58b2e8ccb5ceaad6f68465

  • SHA1

    1ca93e1b4689c0397b859924ac6f56dc4544fafd

  • SHA256

    01515a4578f9a62830c1ca7689a77537806b53493877a53aacc46279f90ad219

  • SHA512

    55e400daa4ed27d4d7b184f750068d5fe58eedbfe1058d929698e25cf6fcee06bc65ff7ca349c22c9c3a39e357f2548b88084a7c5d9d872d9d857e1034d6872d

  • SSDEEP

    98304:XdrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrL:X

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) 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fc8a09cc8b58b2e8ccb5ceaad6f68465_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fc8a09cc8b58b2e8ccb5ceaad6f68465_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xzqotywm\
      2⤵
        PID:2228
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\twcwlwhn.exe" C:\Windows\SysWOW64\xzqotywm\
        2⤵
          PID:2516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xzqotywm binPath= "C:\Windows\SysWOW64\xzqotywm\twcwlwhn.exe /d\"C:\Users\Admin\AppData\Local\Temp\fc8a09cc8b58b2e8ccb5ceaad6f68465_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xzqotywm "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2392
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xzqotywm
          2⤵
          • Launches sc.exe
          PID:2644
        • 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:2320
      • C:\Windows\SysWOW64\xzqotywm\twcwlwhn.exe
        C:\Windows\SysWOW64\xzqotywm\twcwlwhn.exe /d"C:\Users\Admin\AppData\Local\Temp\fc8a09cc8b58b2e8ccb5ceaad6f68465_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2632
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2460

      Network

      MITRE ATT&CK Matrix ATT&CK v13

      Persistence

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Privilege Escalation

      Create or Modify System Process

      2
      T1543

      Windows Service

      2
      T1543.003

      Boot or Logon Autostart Execution

      1
      T1547

      Registry Run Keys / Startup Folder

      1
      T1547.001

      Defense Evasion

      Impair Defenses

      2
      T1562

      Disable or Modify Tools

      1
      T1562.001

      Disable or Modify System Firewall

      1
      T1562.004

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\twcwlwhn.exe
        Filesize

        12.0MB

        MD5

        1574e6ed4287dd24f3d2a59bfa8f555f

        SHA1

        948448fd7aada989b270136ae235669300d82554

        SHA256

        0703b2b5a77f2e9ae91cfa46f41e54aad5d5e7d99b2d76995dc8e0a049626ce4

        SHA512

        2a04701aea89abcedf3cddb53843e87c5b99626c5cccadf0040eccb882a941bd928a3e0a7e3954556a8fdc2b9c03d2360e08ef4252173763f7531ba8923d7d64

      • memory/2156-2-0x00000000003C0000-0x00000000003D3000-memory.dmp
        Filesize

        76KB

      • memory/2156-1-0x00000000008F0000-0x00000000009F0000-memory.dmp
        Filesize

        1024KB

      • memory/2156-4-0x0000000000400000-0x00000000004A5000-memory.dmp
        Filesize

        660KB

      • memory/2156-7-0x0000000000400000-0x00000000004A5000-memory.dmp
        Filesize

        660KB

      • memory/2460-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/2460-10-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2460-14-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2460-19-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2460-20-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2460-21-0x00000000000C0000-0x00000000000D5000-memory.dmp
        Filesize

        84KB

      • memory/2632-12-0x0000000000400000-0x00000000004A5000-memory.dmp
        Filesize

        660KB

      • memory/2632-9-0x0000000000550000-0x0000000000650000-memory.dmp
        Filesize

        1024KB

      • memory/2632-16-0x0000000000400000-0x00000000004A5000-memory.dmp
        Filesize

        660KB