The proof of knowledge property states that in order to make the verifier accept, the (malicious) prover needs to know a witness for .
Philosophy
How do we model that a machine knows a value ? By saying that there must be a machine (the extractor) that can extract the value from . The details of how can extract from depend on the setting, see details below.
Formal definitions
Interactive proofs
Advantage of the extractor over the verifier in classical interactive proofs.
The extractor gets black-box access to the prover, allowing the extractor to effectively rewind the prover. In contrast, the actual verifier cannot rewind the prover (which in many protocols simply translates to: the verifier only gets to see one response for a challenge, while the extractor can rewind and see multiple responses for the same challenge).