Analysis

  • max time kernel
    149s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

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

General

  • Target

    fc375afd6e19021f99dba8859321d797_JaffaCakes118.exe

  • Size

    14.3MB

  • MD5

    fc375afd6e19021f99dba8859321d797

  • SHA1

    40ea7fd6cdb00ac865eef58b88baa2a4585275a1

  • SHA256

    55dacf5412f89d111de8f577d2dbc35d8c309651de0b137807efca66e90c6913

  • SHA512

    50aee8181165f0b8e310d4be2ca5f0e5679254443f6a7639c3b878a3ed59b9d22b366ebbd920fff8fcada37da03f3029b7f1e596246f6df7afcae30f65064532

  • SSDEEP

    98304:LNWUlllllllllllllllllllllllllllllllllllllllllllllllllllllllllll7:pW

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\fc375afd6e19021f99dba8859321d797_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fc375afd6e19021f99dba8859321d797_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ihedbfxg\
      2⤵
        PID:2532
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kpzuoaxz.exe" C:\Windows\SysWOW64\ihedbfxg\
        2⤵
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ihedbfxg binPath= "C:\Windows\SysWOW64\ihedbfxg\kpzuoaxz.exe /d\"C:\Users\Admin\AppData\Local\Temp\fc375afd6e19021f99dba8859321d797_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ihedbfxg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2592
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ihedbfxg
          2⤵
          • Launches sc.exe
          PID:2920
        • 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:2716
      • C:\Windows\SysWOW64\ihedbfxg\kpzuoaxz.exe
        C:\Windows\SysWOW64\ihedbfxg\kpzuoaxz.exe /d"C:\Users\Admin\AppData\Local\Temp\fc375afd6e19021f99dba8859321d797_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2864
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1948

      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\kpzuoaxz.exe
        Filesize

        14.0MB

        MD5

        56f1f0160c01dc72fe7e631d667e2341

        SHA1

        27dfd6dc3a60a15ffeaba21a5bfd740811641880

        SHA256

        c81e3d0b0e1cd16e9c350ba6365e0874c97a84d03030815c37c05e5c308a641d

        SHA512

        a100852bd226d21a2a811a6c7a735fffe010a90c6fe28d92a54cebf35809dad1790a1ae365cb3ea24c8bb4902236c537a1f019bd6f4bc617fd228b5982633c30

      • memory/1948-11-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1948-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/1948-22-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1948-21-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1948-20-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1948-15-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1996-7-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/1996-1-0x00000000037F0000-0x00000000038F0000-memory.dmp
        Filesize

        1024KB

      • memory/1996-4-0x0000000000400000-0x00000000036CD000-memory.dmp
        Filesize

        50.8MB

      • memory/1996-6-0x0000000000400000-0x00000000036CD000-memory.dmp
        Filesize

        50.8MB

      • memory/1996-2-0x0000000000220000-0x0000000000233000-memory.dmp
        Filesize

        76KB

      • memory/2864-12-0x0000000000400000-0x00000000036CD000-memory.dmp
        Filesize

        50.8MB

      • memory/2864-10-0x0000000003780000-0x0000000003880000-memory.dmp
        Filesize

        1024KB

      • memory/2864-17-0x0000000000400000-0x00000000036CD000-memory.dmp
        Filesize

        50.8MB