Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    01-06-2024 15:34

General

  • Target

    8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    8ae987e80e12b61362f37b47ea603a71

  • SHA1

    29a2d26bf4d8a74d4ded2bba39af14e2af83016e

  • SHA256

    2892fcb514031795be8f62a7c309a5fe80279066517fd8bd219f2e0f31fb4042

  • SHA512

    d47df314643d82af87feb43f79ae5fef1ad61aa449755d0d73abee307bdc93fbcb53529c7fe8039e7bfb051d8041b084b3efd00d868377881b6c46b86c0f6ef7

  • SSDEEP

    3072:i9Tpm/Wn6280tMkFG6ASkHDmdxPvrknn3ost0rpNU99f:9eJLHkjmbwn3ojNg

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tlsoinxr\
      2⤵
        PID:2732
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqgazyhx.exe" C:\Windows\SysWOW64\tlsoinxr\
        2⤵
          PID:2148
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tlsoinxr binPath= "C:\Windows\SysWOW64\tlsoinxr\hqgazyhx.exe /d\"C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2584
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tlsoinxr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2532
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tlsoinxr
          2⤵
          • Launches sc.exe
          PID:2624
        • 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:2600
      • C:\Windows\SysWOW64\tlsoinxr\hqgazyhx.exe
        C:\Windows\SysWOW64\tlsoinxr\hqgazyhx.exe /d"C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2484
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:1724

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        14.2MB

        MD5

        db7a19f0aa231e4a7ecf687e9d66f47b

        SHA1

        e1b3eb0c83885731313e23c446c44c0c2253ec70

        SHA256

        6d3b8f82198834cfd1cae16fc297f87bd5892ea55fe7d5e49f62edb3d1797c06

        SHA512

        9d5afd2faf99c220342c5ed590c78912625ee59973fbff560edf6611884c80024af08d07a5e70a8710ce338c0fa6eea57a74f827a1cf44f19c1897c097c13caa

      • memory/1724-13-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

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

        84KB

      • memory/1724-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/1724-8-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

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

        84KB

      • memory/2248-2-0x0000000000240000-0x0000000000241000-memory.dmp
        Filesize

        4KB

      • memory/2248-1-0x0000000000400000-0x0000000000426000-memory.dmp
        Filesize

        152KB

      • memory/2248-0-0x0000000000230000-0x0000000000231000-memory.dmp
        Filesize

        4KB

      • memory/2248-5-0x0000000000400000-0x0000000000426000-memory.dmp
        Filesize

        152KB

      • memory/2484-7-0x0000000000400000-0x0000000000426000-memory.dmp
        Filesize

        152KB

      • memory/2484-14-0x0000000000400000-0x0000000000426000-memory.dmp
        Filesize

        152KB