# ASMTool
Firmware dumper and various utilities for PCI based ASMedia USB Controllers
It looks like all ICs in the ASM1x4x, ASM2x4x and ASM3x4x family use the same interface and share the same registers, but i only tested this with the ASM2142 Controller that i have in my system.
# Why?
I'm having issues with my ASM2142 controller (lockup with USB 3.1 and large transfers), and i couldn't find a way to dump the current firmware.
The firmware updater can internally read the firmware, but it doesn't offer a way to save it.
# How to use
## Linux
```gcc -shared -o libAsmIOLinux.so -fPIC Linux/AsmIOLinux.c```
Place the resulting `.so` file next to the ASMTool executable (obtained by building this project)
## Windows
You'll need `AsmIo.sys` (for 32bit Windows) or `AsmIo64.sys` (for 64bit Windows).
You will also need `asmiodll.dll`. You can find these files if you google `ASM2142 firmware`.
Download the firmware updater and you'll find the files in there.
Place all files next to the ASMTool executable (obtained by building this project)
# How to contribute?
You can either extend this program and add new functionality, or
open a new Issue and attach the firmware obtained by running this program, so that other users can update their firmwares or try older versions to see if they work better
# They are custom Intel 8051 cores!
It turns out ASMedia USB controllers are custom Intel 8051 cores, and the firmware file can be disassembled into i8051 assembly
# Security implications
It looks like this interface could be used to flash malicious code onto ASMedia chips, as explained by
https://chefkochblog.wordpress.com/2018/03/19/asmedia-usb-3-x-controller-with-keylogger-and-malware-risks/
The chip performs no signature checks on the code being flashed and, being a PCIe device, could abuse DMA to read and write arbitrary memory
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
ASM工具 固件转储器和用于基于PCI的ASMedia USB控制器的各种实用程序 看起来ASM1x4x,ASM2x4x和ASM3x4x系列中的所有IC都使用相同的接口并共享相同的寄存器,但是我仅使用我系统中使用的ASM2142控制器对此进行了测试。 为什么? 我的ASM2142控制器出现问题(使用USB 3.1和大容量传输锁定),并且找不到转储当前固件的方法。 固件更新程序可以在内部读取固件,但没有提供保存方法。 如何使用 Linux gcc -shared -o libAsmIOLinux.so -fPIC Linux/AsmIOLinux.c将生成的.so文件放在ASMTool可执行文件旁边(通过构建此项目获得) 视窗 您将需要AsmIo.sys (对于32位Windows)或AsmIo64.sys (对于64位Windows)。 您还将需要asmiodll.dll 。 如果
资源详情
资源评论
资源推荐
收起资源包目录
ASMTool-master.zip (19个子文件)
ASMTool-master
AsmTool
WindowsAsmIO.cs 6KB
Linux
AsmIOLinux.c 5KB
AsmTool.csproj 3KB
AsmDevice.cs 4KB
LinuxAsmIO.cs 3KB
Program.cs 921B
AsmMemory.cs 1KB
Properties
AssemblyInfo.cs 2KB
PCIBar.cs 806B
IAsmIO.cs 1KB
App.config 184B
AsmIOFactory.cs 651B
PCIAddress.cs 414B
AsmIORegister.cs 456B
Prober.cs 2KB
app.manifest 3KB
README.md 2KB
.editorconfig 537B
AsmTool.sln 1KB
共 19 条
- 1
CharlesXiao
- 粉丝: 13
- 资源: 4489
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0