In a sterilized jar, add the sugar and apple cores. Give it a stir, add a lid with either cheesecloth or a coffee filter on top, and set in a warm place in your pantry for two weeks.
Compost the apple cores at this point, and allow the mixture to ferment for an additional two weeks.
The vinegar is ready when it is tangy and tastes like vinegar to your liking.