Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 01:37

General

  • Target

    88ff7f6d554b21bfca8145796f779da0_JaffaCakes118.exe

  • Size

    781KB

  • MD5

    88ff7f6d554b21bfca8145796f779da0

  • SHA1

    a28b1964e02dfebb3fbacd566c04b8cc4c808db2

  • SHA256

    839937b17343a4d77d15b88d2acfa5a56a51a1cbe06c94cbd8925b2237f4c615

  • SHA512

    22eb17829d054c8755996eb6ffa120aee872c203127dce5330efb131823ee33268d8df08884229b4f21f10f4c7bd426ba70826be1ee7392762ce2fd722ab2431

  • SSDEEP

    24576:jE+fq88Ym9oDzXy3dyC9I1kwxjXDD8fWI:9R9W3LqPxzBI

Malware Config

Extracted

Family

latentbot

C2

nyandcompany.zapto.org

1nyandcompany.zapto.org

2nyandcompany.zapto.org

3nyandcompany.zapto.org

4nyandcompany.zapto.org

5nyandcompany.zapto.org

6nyandcompany.zapto.org

7nyandcompany.zapto.org

8nyandcompany.zapto.org

Signatures

  • LatentBot

    Modular trojan written in Delphi which has been in-the-wild since 2013.

  • Latentbot family
  • Modifies firewall policy service 3 TTPs 10 IoCs
  • Drops file in Drivers directory 1 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 13 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies registry key 1 TTPs 4 IoCs
  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious use of AdjustPrivilegeToken 36 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 50 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\88ff7f6d554b21bfca8145796f779da0_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\88ff7f6d554b21bfca8145796f779da0_JaffaCakes118.exe"
    1⤵
    • Drops file in Drivers directory
    • Checks computer location settings
    • Adds Run key to start application
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4440
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\java.bat" "
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3136
      • C:\Windows\SysWOW64\wscript.exe
        wscript.exe "C:\Users\Admin\AppData\Local\Temp\invs.vbs" "C:\Users\Admin\AppData\Local\Temp\java2.bat
        3⤵
        • Checks computer location settings
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2476
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\java2.bat" "
          4⤵
          • Drops startup file
          • System Location Discovery: System Language Discovery
          PID:4036
    • C:\Windows\Temp\svhost.exe
      C:\Windows\Temp\svhost.exe
      2⤵
        PID:432
      • C:\Windows\Temp\svhost.exe
        C:\Windows\Temp\svhost.exe
        2⤵
        • Executes dropped EXE
        • System Location Discovery: System Language Discovery
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:3656
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:4044
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:1464
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Windows\Temp\svhost.exe" /t REG_SZ /d "C:\Windows\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2332
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Windows\Temp\svhost.exe" /t REG_SZ /d "C:\Windows\Temp\svhost.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:2676
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:1048
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /v "DoNotAllowExceptions" /t REG_DWORD /d "0" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:1664
        • C:\Windows\SysWOW64\cmd.exe
          cmd /c REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\test2.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\test2.exe:*:Enabled:Windows Messanger" /f
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of WriteProcessMemory
          PID:2032
          • C:\Windows\SysWOW64\reg.exe
            REG ADD HKLM\System\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List /v "C:\Users\Admin\AppData\Roaming\test2.exe" /t REG_SZ /d "C:\Users\Admin\AppData\Roaming\test2.exe:*:Enabled:Windows Messanger" /f
            4⤵
            • Modifies firewall policy service
            • System Location Discovery: System Language Discovery
            • Modifies registry key
            PID:4676
      • C:\Windows\Temp\svhost.exe
        C:\Windows\Temp\svhost.exe
        2⤵
          PID:1832
        • C:\Windows\Temp\svhost.exe
          C:\Windows\Temp\svhost.exe
          2⤵
            PID:2284

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        • C:\Users\Admin\AppData\Local\Temp\invs.vbs

          Filesize

          78B

          MD5

          c578d9653b22800c3eb6b6a51219bbb8

          SHA1

          a97aa251901bbe179a48dbc7a0c1872e163b1f2d

          SHA256

          20a98a7e6e137bb1b9bd5ef6911a479cb8eac925b80d6db4e70b19f62a40cce2

          SHA512

          3ae6dc8f02d1a78e1235a0782b632972da5a74ab32287cc41aa672d4fa4a9d34bb5fc50eba07b6915f2e61c402927cd5f6feeb7f7602afa2f64e91efb3b7fc4d

        • C:\Users\Admin\AppData\Local\Temp\java.bat

          Filesize

          47B

          MD5

          81bf5400486e5da45ba0c6c1399d843f

          SHA1

          d70a7c4d3f3057a3ef5b8b1c764b40b3d3b4d59d

          SHA256

          d1a915a5e0286b1648a6e094f52813e2b5766dce3acf6342b297f7ca113545f1

          SHA512

          ebeee9eb5249ee1b278bf6c1fbcd91e4c073a241203f218dfa2edfa708a37679c6e6a78751de55b4640a024b32ce4389bd5d931401309163950cd15b4a91c140

        • C:\Users\Admin\AppData\Local\Temp\java2.bat

          Filesize

          151B

          MD5

          ed28c618f7d8306e3736432b58bb5d27

          SHA1

          441e6dab70e31d9c599fcd9e2d32009038781b42

          SHA256

          d9aa03911260779b1f8a9b046a7ecf7aa87b0f13c762491fe8e06c482bac09a3

          SHA512

          4257d8839e881a9ab6de6230a9df1e81456cb796eb9ee2361789fa5fe4c81b297ed1c472f91d97bb0b2ebdb6acadb924617e6ffd32fc96d8ddcebf8fee4a7880

        • C:\Users\Admin\AppData\Local\Temp\rundll32-.txt

          Filesize

          781KB

          MD5

          88ff7f6d554b21bfca8145796f779da0

          SHA1

          a28b1964e02dfebb3fbacd566c04b8cc4c808db2

          SHA256

          839937b17343a4d77d15b88d2acfa5a56a51a1cbe06c94cbd8925b2237f4c615

          SHA512

          22eb17829d054c8755996eb6ffa120aee872c203127dce5330efb131823ee33268d8df08884229b4f21f10f4c7bd426ba70826be1ee7392762ce2fd722ab2431

        • C:\Windows\Temp\svhost.exe

          Filesize

          1.1MB

          MD5

          d881de17aa8f2e2c08cbb7b265f928f9

          SHA1

          08936aebc87decf0af6e8eada191062b5e65ac2a

          SHA256

          b3a37093609f9a20ad60b85a9fa9de2ba674cba9b5bd687729440c70ba619ca0

          SHA512

          5f23bfb1b8740247b36ed0ab741738c7d4c949736129e767213e321607d1ccd3e3a8428e4ba44bd28a275b5e3f6206285b1a522514b7ef7ea5e698d90a713d34

        • memory/3656-46-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-44-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-18-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-23-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-50-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-49-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-48-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-47-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-45-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/3656-40-0x0000000000400000-0x0000000000470000-memory.dmp

          Filesize

          448KB

        • memory/4440-0-0x0000000074DA2000-0x0000000074DA3000-memory.dmp

          Filesize

          4KB

        • memory/4440-43-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB

        • memory/4440-39-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB

        • memory/4440-3-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB

        • memory/4440-38-0x0000000074DA2000-0x0000000074DA3000-memory.dmp

          Filesize

          4KB

        • memory/4440-4-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB

        • memory/4440-2-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB

        • memory/4440-1-0x0000000074DA0000-0x0000000075351000-memory.dmp

          Filesize

          5.7MB