3 ms·
Transactions should be logged to something that can't be tampered with. Then you can go back and recover state by re-running transactions. Sarbanes-Oxley tries
by Animats 10y ago
Transactions should be logged to something that can't be tampered with. Then you can go back and recover state by re-running transactions. Sarbanes-Oxley tries to require this, and it produced a boom in write-once media, such as DVD writers. There are also DAT tapes and even disks with controllers which supposedly enforce write-once.
It's not clear how good compliance with this actually is.
- tekklloneer 10y agoThere's this tricky edge between "compliant" and "correct". I could build "a box" that takes files and only lets you add new versions, but ultimately it can't enforce me removing its drives and manually editing them. In other words, the compliance level is actually pretty good, but the solutions themselves are weak and not hardened against intent (just normal operating use).
- vog 10y ago> Transactions should be logged to something that can't be tampered with. Then you can go back and recover state by re-running transactions. I believe the technical term for this pattern is Event Sourcing. See also: http://martinfowler.com/eaaDev/EventSourcing.html http://martinfowler.com/eaaDev/EventSourcing.html Event Sourcing describes everything of such a system, except for a mechanism to ensure non-tempering. That's where other technologies such as regularily published hash values come into play - which may be printed in newspapers, cryptographically signed by multiple trusted organizations, agreed on through some blockchain technoloy, or a combination of all.
- nickpsecurity 10y agoThe technical terms are "audit logs" written to "append-only" storage on "write-once, read-many" media. What we've used for a decade or so. I know Fowler is popular but unrelated to the basics of this discussion.
- vog 10y agoI don't get your point. > What we've used for a decade or so. The linked Fowler article is from 2005, which is also more than a decade old. > Fowler is [...] unrelated to the basics of this discussion While Event Sourcing doesn't describe audit logs and storage systems, it does describe how to build a whole working system based solely on that, with real-world experience warnings about pitfalls and so on.
- nickpsecurity 10y agoIt could be useful. What I'm saying is that IT security, which existed before 2005 & governs this topic, calls it those things. By giving the standard terms, I give you or other readers a chance to Google for them to find solutions to the problem. Whereas, people Googling non-security terms and topics will probably miss key info from a security vantage even if there's some good tips out there. Best to not change terms in a risk-related field but the link itself is fine.
- PeterisP 10y agoRecovering internal state is not a big issue for financial institutions, everybody who's serious can do that, the question is about the time needed to do it at scale. However, recovering internal state is not really a solution to the main problem - you can't reverse any external transactions that were done based on the temporarily wrong state. If ATM or teller handed out cash, you can't simply cancel that. If you (as a bank) sent a payment instruction to another bank or some payment network, you're often not going to get that money back; especially if it was fraud instead of some mistake.
- hx87 10y ago> If ATM or teller handed out cash, you can't simply cancel that. I wonder if it's possible to specifically cancel the serial numbers of the cash that was fraudulently withdrawn. In other words, make it no longer legal tender. Of course, the problem is how the acceptor of the cash knows that it is fraudulent, but perhaps a public list of serial numbers known to be fraudulent would be a start?
- PeterisP 10y agoThe cash is still legal tender, but it can be used to catch the culprits. IIRC currently around half of cash travels just for a single transaction (i.e. ATM->person->shop->bank); and ATMs would know which particular serial numbers were handed out; so for a large case you can find out where the particular banknotes were spent and that can be combined with camera recordings to find the involved people. But in an automatic way, no, a public list of known fraudulent serial numbers would not be sufficient in the current legal environment; it would be impractical to mandate everyone to check such a list at every transaction for every single banknote.
- johnloeber 10y agoI would be hard pressed to think of things that "can't be tampered with." When you make something difficult to tamper with, you usually just increase the potential payout of tampering. There's an essential problem: all security systems can be compromised. When a security system seems more safe than the others, more people will use that system, thereby increasing the incentive for adversaries to try to break it (and almost always they will succeed).
- nickpsecurity 10y ago"When you make something difficult to tamper with, you usually just increase the potential payout of tampering." You actually decrease it. The payout of tampering is associsted with assets security scheme protects. As for that point, vendors should sell the solutions as reducing but not eliminating risk. Plus encourage monitoring and audits.
- asuffield 10y ago> When you make something difficult to tamper with, you usually just increase the potential payout of tampering. The real goal is to make the cost of tampering exceed the payout. The standard mechanisms for increasing the cost are computational power needed (cryptography) and ability to participate in mainstream society (legislation).