The Internet Worm Program: An Analysis
https://spaf.cerias.purdue.edu/tech-reps/823.pdf [spaf.cerias.purdue.edu]
2023-08-25 16:24
tags:
c
dupe
exploit
paper
pdf
programming
security
unix
This report gives a detailed description of the components of the worm program—data and functions. It is based on study of two completely independent reverse-compilations of the worm and a version disassembled to VAX assembly language. Almost no source code is given in the paper because of current concerns about the state of the ‘‘immune system’’ of Internet hosts, but the description should be detailed enough to allow the reader to understand the behavior of the program.
And some modern commentary: https://infosec.exchange/@hovav/110950949212380779
Building Lattice Reduction (LLL) Intuition
https://kel.bz/post/lll/ [kel.bz]
2020-01-24 07:49
tags:
crypto
dupe
math
The Lenstra–Lenstra–Lovász (LLL) algorithm is an algorithm that efficiently transforms a “bad” basis for a lattice L into a “pretty good” basis for the same lattice. This transformation of a bad basis into a better basis is known as lattice reduction, and it has useful applications. For example, there is attack against ECDSA implementations that leverage biased RNGs that can lead to private key recovery. However, my experience learning why LLL works has been pretty rough. Most material covering LLL seems targeted towards mathematicians and I had to (I guess I wanted to) spend a lot of time trying to weasel out the intuition and mechanics of the algorithm. This blog post is a semi-organized brain dump of that process. My goal is to cover LLL in such a way that slowly ratchets down the hand-waving, so feel free to read until you are happy with your level of understanding.
Ironies of automation
https://blog.acolyer.org/2020/01/08/ironies-of-automation/ [blog.acolyer.org]
2020-01-11 23:45
tags:
development
dupe
paper
tech
turtles
The central irony (‘combination of circumstances, the result of which is the direct opposite of what might be expected’) referred to in this paper is that the more we automate, and the more sophisticated we make that automation, the more we become dependent on a highly skilled human operator.
TAA and other RIDL issues
https://mdsattacks.com/#ridl-ng [mdsattacks.com]
2019-11-12 22:12
tags:
bugfix
cpu
development
dupe
security
sidechannel
On Nov 12, 2019, we (VUSec) disclose TSX Asynchronous Abort (TAA), a new speculation-based vulnerability in Intel CPUs as well as other MDS-related issues, as described in our new RIDL addendum. In reality, this is no new vulnerability. We disclosed TAA (and other issues) as part of our original RIDL submission to Intel in Sep 2018. Unfortunately, the Intel PSIRT team missed our submitted proof-of-concept exploits (PoCs), and as a result, the original MDS mitigations released in May 2019 only partially addressed RIDL. You can read the full story below.
On July 3, 2019, we finally learned that, to our surprise, the Intel PSIRT team had missed the PoCs from our Sep 29 submission, despite having awarded a bounty for it, explaining why Intel had failed to address - or even publicly acknowledge - many RIDL-class vulnerabilities on May 14, 2019.
When you have so many problems you’re paying out bounties without knowing what for...
BPF and formal verification
https://www.sccs.swarthmore.edu/users/16/mmcconv1/pl-reflection.html [www.sccs.swarthmore.edu]
2019-06-07 04:24
tags:
compsci
development
dupe
openbsd
programming
I spent the spring of 2015 researching the Berkeley packet filter (BPF) and its formal verification with my programming languages professor, Joe Gibbs Politz. The project took some unexpected turns and we learned a lot about Coq and applied formal verification in the process.
source: HN
Security Engineering: Third Edition
https://www.cl.cam.ac.uk/~rja14/book.html [www.cl.cam.ac.uk]
2019-05-17 23:52
tags:
beta
book
development
dupe
security
rustgo: calling Rust from Go
https://blog.filippo.io/rustgo/ [blog.filippo.io]
2019-03-16 03:40
tags:
development
dupe
go
library
programming
rust
turtles
This post is the story of a slightly-less-than-sane experiment to call Rust code from Go fast enough to replace assembly. No need to know Rust, or compiler internals, but knowing what a linker is would help.
Repost, but it’s just so delicious.
Algorithms by Jeff Erickson
http://jeffe.cs.illinois.edu/teaching/algorithms/ [jeffe.cs.illinois.edu]
2019-01-02 21:54
tags:
academia
book
compsci
dupe
reference
release
This web page contains a free electronic version of my (soon to be) self-published textbook Algorithms, along with other lecture notes I have written for various theoretical computer science classes at the University of Illinois, Urbana-Champaign since 1998.
0th edition (prepublication draft), December 2018
Static Program Analysis
https://cs.au.dk/~amoeller/spa/spa.pdf [cs.au.dk]
2018-11-05 21:41
tags:
academia
book
compiler
compsci
development
dupe
paper
programming
reference
These notes present principles and applications of static analysis of programs. We cover basic type analysis, lattice theory, control flow graphs, dataflow analysis, fixed-point algorithms, widening and narrowing, path sensitivity, relational analysis, interprocedural analysis, context sensitivity, control-flow analysis, several flavors of pointer analysis, and key concepts of semantics-based abstract interpretation. A tiny imperative programming language with pointers and first-class functions is subjected to numerous different static analyses illustrating the techniques that are presented.
source: solar
Prime and Prejudice: Primality Testing Under Adversarial Conditions
https://eprint.iacr.org/2018/749 [eprint.iacr.org]
2018-10-31 03:40
tags:
crypto
dupe
math
paper
security
This work provides a systematic analysis of primality testing under adversarial conditions, where the numbers being tested for primality are not generated randomly, but instead provided by a possibly malicious party. Such a situation can arise in secure messaging protocols where a server supplies Diffie-Hellman parameters to the peers, or in a secure communications protocol like TLS where a developer can insert such a number to be able to later passively spy on client-server data.
Note: Updated to include details on vulnerabilities in Apple crypto libraries.
iOS Security
https://www.apple.com/business/site/docs/iOS_Security_Guide.pdf [www.apple.com]
2018-09-20 18:23
tags:
defense
dupe
iphone
pdf
security
New release, new PDF.
source: green
Same stats, different graphs: generating datasets with varied appearance and identical statistics through simulated annealing
https://blog.acolyer.org/2017/10/31/same-stats-different-graphs-generating-datasets-with-varied-appearance-and-identical-statistics-through-simulated-annealing/ [blog.acolyer.org]
2017-11-01 14:55
tags:
dupe
math
paper
visualization
In ‘Same Stats, Different Graphs,’ Matjeka & Fitzmaurice show a method for purposefully creating datasets which are identical over a range of statistical properties (of your choosing), yet produce dissimilar graphics. In my mind there’s a connection here to the idea of adversarial inputs to deep neural nets, which we might similarly express on some level as ‘Same Stats, Different Classes.’ Another thing I get from this paper is a very visual reminder of ‘Same Outcome (in terms of stats), Different Causes.’ There are lots of different hypotheses you could come up with that may produce the effect you’re seeing.
SSL/TLS and PKI History
https://www.feistyduck.com/ssl-tls-and-pki-history/ [www.feistyduck.com]
2017-10-29 17:00
tags:
dupe
networking
standard
visualization
Repost, a few updates.
source: green
Plasma is an interactive disassembler for x86/ARM/MIPS
https://github.com/plasma-disassembler/plasma [github.com]
2017-08-12 19:01
tags:
cpu
development
dupe
swtools
PLASMA is an interactive disassembler. It can generate a more readable assembly (pseudo code) with colored syntax. You can write scripts with the available Python api (see an example below). The project is still in big development.
source: grugq