
InfoSec Engineer @census_labs - Driven by passion for challenges
Greece
Joined January 2011
- Tweets1.2K
- Following300
- Followers922
- Likes195
I’m hiring to grow our confidential computing security eng. team (edge devices & cloud platforms). If hypervisors, virt, attestation, (v)TPM, KVM, crosvm, SGX/TDX/SEV-SNP/VMPL, dynamic passthrough & VirtIO tickle your brain, drop me a message to discuss potential opportunities.
VdexExtractor 0.6.0 released with Android 10 support. Seems that new 021 version has minor changes to support Vdex files generated from InMemoryDexClassLoader. To worry about perf there, G seems to invest a lot on it. | github.com/anestisb/vdexExtr…
Pixel 3,4 devices use a custom packed img format for bootloader & radio (FBPK) that is not part of upstream EDK2 bootloader. Spent part of holidays reversing G's B1c1FastbootApp UEFI app & released an upacking tool as a side-product - github.com/anestisb/qc_image…
Who needs 0days when you have Nyears never backported from upstream to Android kernels. Btw officially surprised that Google & QC/caf missed to backport a binder security patch.
If TEEs, TAs, hypervisors, bootloaders, embedded devices hw root of trust, secure boot, uefi, mcu, modem, adsp and low-level Android systems security is your thing, dm me. We have some really exciting projects running at @census_labs.
Seems that CodeAurora maintainers are book keeping Android for MSM release tags per chipset/OS-ver in a wiki page (wiki.codeaurora.org/xwiki/bi…). So happy that I don't need to repo manifest parse anymore the entire bloatware just to dig the correct LA tag from XMLs.
Seems that Android ART plans to replace the patchoat ImageSpace relocation with an in-memory randomised relocation instead (android-review.googlesource.…). Looks like a nice gift to hardened ROM devs since can easily relocate per app without massive changes in zygote fork design.
2
I've submitted a cdex to dex converter within oatdump in upstream AOSP (android-review.googlesource.…). It's merged in master & hopefully will ship with the next major OS update so I don't have to redo all the work to recover stripped bytecode.
Android P runtime is massively modifying the visibility (fields/methods AccessFlags) of many framework classes (android.googlesource.com/pla…) via a custom encoding (hiddenapi). vdexExtractor decompiler backend updated to handle & revert this custom encoding github.com/anestisb/vdexExtr…
android-prepare-vendor has been updated to support Android 9 vendor blobs generation for Pixel devices. Had to extend AOSP's oatdump utility in order to properly recover bytecode resources that have been stripped from original archives in factory images. github.com/anestisb/android-…
1
1
Since upstream ART host tools don't support the new CompactDex format, I've written a tool that uses Dexlayout IR to convert back to StandardDex (gist.github.com/anestisb/302…). Needs to be compiled from AOSP. More info, binary URLs & automation scripts in github.com/anestisb/vdexExtr…
Was reading some recent P0 chromium bugs. It's awesome that different teams from Google use the same tools/fuzzers, and sec folks still find not-that-complex bugs in heavily fuzzed stacks. [put_your_fav_fuzzing_gif_here]. Diversity & manual tweaking for the win!
4
vdexExtractor decompiler/disassembler tool updated to support Vdex ver. 019 as introduced with Android 9 (Pie) API-28 release. Dex parsing engine has been updated to also support the new CompactDex files. | github.com/anestisb/vdexExtr…
Still missing a solid tool to convert CompactDex files back to StandardDex files, although I'm working on some ideas (see github.com/anestisb/vdexExtr…). Most probably I'll contribute to libart's dexlayout library to support CompactDex files as input in the IR parser.
"Interesting" coincidence that Google folks report a high vuln in fortnite installer app, while Epic Games decided to distribute outside store. If only Google was that thorough with PlayStore app reviews (issuetracker.google.com/issu…, mashable.com/2018/08/25/goog…).
It's also "interesting" that G insisted on making the issue public 9d after patch, while it has stopped unrestricting the view permissions of the Android VRP bugs for almost 2 years. A tracker search with the vuln. type filter shows only one result - issuetracker.google.com/issu…
I really like the µUBSan project added recently in NetBSD (blog.netbsd.org/tnf/entry/in…). Makes the standalone UBSan ideal for UB fuzzing of targets where compiling & linking with the clang/llvm/gcc runtime libraries is not an easy task.
2
Are you fusing a 2nd RoT hash in QFPROM for the tamper-resistant hw firmware? If the (same) signing keys are compromised, previous components of the boot process or wipe impl. logic (TZ/ABL) can be modified, thus the Insider Attack Resistance has a limited security benefit.
Replying to @matthew_d_green @Riana_Crypto
This is where I'm working to set it: android-developers.googleblo…
Android 9 includes a new internal DEX file format called CDEX (Compact DEX: android.googlesource.com/pla…) breaking many of my tools. Wonder how many more intermediate formats will Google create before realising that DEX is not suitable anymore for baseline ART bytecode.
If you want to pursue an academic career in Greece in the fields of hw security, cryptography or other InfoSec fields, you should definitely get in touch with @SCYTALEgr group. Dr. N. Sklavos that runs the group is among the most talented and passionate people I've worked with.
Will be in London this week for InfoSec EU. Ping me if you're around and available for a drink. Will also be with the @census_labs booth during conference hours.

