Thursday, February 20, 2014

[x86] (9) PFAT aka. BIOS Guard and its flaw





Back to x86 again everyone, for responsible to curious feedback from 王御多, here's some little explain for PFAT aka. BIOS Guard.



Alright, I know some might feel it's too short for explaining the PFAT, however, it's really necessary to understand the basis of RSA first. If you do familiar with RSA, the only mist of PFAT to you is "Use HW solution to replace SMI method".

Using SMI method to verify and update BIOS package is okay in traditional way since in early days, people aren't so familiar with SMI. However, now days we have various software tools and spec. help us to catch and hijack the SMI.

So here's the PFAT (HW solution), the main idea is extremely simple, doing the verify and update in the hideout, block the interrupt and fetch the package data from HW-specified memory part. See, it's really simple so say so, PFAT is doing the exactly same thing except it's hiding in specified HW place.

Well, it's pretty nice, isn't?

However, someone just forgot a little thing about compatibility with BIOS recovery...what? how they get messed up since BIOS recovery is so conventional? Well, they did forget it. You may seem BIOS recovery as another kind BIOS update package only difference is the package itself is previously stored in BIOS ROM and it runs in PEI phase. Sounds fine...but PFAT module only runs in DXE phase....WTF?! BIOS recovery module could never pass the verify phase!

Anyway, I'm pretty sure it's just a little flaw had been fixed by now, just to share the experience that even the mighty one would make such funny issue.

Please leave me any comments or questions, I'd be thankful and response as soon as possible! Thanks!

Wednesday, January 22, 2014

[Cocos2D+Box2D] (8) DreamCatcher: Rope Simulation + Continuous Touch Tracking in development based on Box2D - Part 4!

Simulator: iPhone 4.0-inch Retina

Programming in Objective-C

Rope Simulation + Continuous Touch Tracking in development based on Box2D

FPS: 55-60

Special thanks to Cocos Forum!

Important: All material and texture are only used in demonstration of rope simulation and it's copy-right belongs to original author, and those material will not be used for commercial usage and business behavior.

http://youtu.be/hqqeBVughf8

Sunday, January 19, 2014

[Cocos2D+Box2D] (7) Rope Simulation + Continuous Touch Tracking in development based on Box2D - Part 3!

Simulator: iPhone 4.0-inch Retina

Programming in Objective-C

Rope Simulation + Continuous Touch Tracking in development based on Box2D

FPS: 25-30

Special thanks to Cocos Forum!

Rope Simulation + Continuous Touch Tracking-Part 3

Wednesday, January 15, 2014

[Cocos2D+Box2D] (6) Rope Simulation + Continuous Touch Tracking in development based on Box2D - Part 2!

Simulator: iPhone 4.0-inch Retina

Programming in Objective-C

Rope Simulation + Continuous Touch Tracking in development based on Box2D

FPS: 55~60

Special thanks to Cocos Forum!

Rope Simulation + Continuous Touch Tracking-Part 2

[Cocos2D+Box2D] (5) Rope Simulation + Continuous Touch Tracking in development based on Box2D - Part 1!


Simulator: iPhone 4.0-inch Retina

Programming in Objective-C

Rope Simulation + Continuous Touch Tracking in development based on Box2D

FPS: 55~60

Special thanks to Cocos Forum!

Please also check my blog for more information, thanks!

http://mephistolai.blogspot.tw/


http://youtu.be/S3CP1IgJOvYRope Simulation + Continuous Touch Tracking in development based on Box2D

Tuesday, January 7, 2014

[Cocos2D+Box2D] (4) Box2D + Cocos2D V2 : Rope + Touch Event Simulation

Simulator: iPhone 4.0-inch Retina

Programming in Objective-C

Rope Simulation in development based on Box2D

FPS: 55~60

Special thanks to Cocos Forum!


Box2D + Cocos2D V2 : Rope + Touch Event Simulation

Wednesday, January 1, 2014

[Cocos2D+Box2D] (3) Rope Simulation Project

Simulator: iPhone 3.5-inch Retina

Programming in Objective-C

Rope Simulation in development based on Box2D

FPS: 50~60

Special thanks to Cocos Forum!

http://www.youtube.com/watch?v=pimaYX5dbDU