lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Mar 2022 09:10:39 -0700
From:   Kees Cook <keescook@...omium.org>
To:     James Jones <linux@...innocuous.com>
Cc:     bp@...en8.de, x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: Remove a.out support

On Wed, Mar 16, 2022 at 05:06:10AM +0000, James Jones wrote:
> I dug the scripts up in the state they were in when I gave up (September
> 2020 according to mtime), and put them on github in case anyone wants to
> have a go at it:
> 
> https://github.com/cubanismo/aout-to-elf/
> 
> It was an interesting problem in its own right, and I'd be curious to
> know what I missed.

Yeah, this is a good start. I think the main problem is with how program
entry works, specifically that %esp is pointing to argc (with all the
args in memory above there), which isn't the way ELF sets %esp.

It might be possible to make a userspace loader, though. Hmm.

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ